Project

General

Profile

Bug #16705

rgw: there may be some objects not delete in some circumstances

Added by wei qiaomiao over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/18/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

A ObjectExpirer Process Round is start from 'last_run' to 'round_start' ,
if the last process round break in function "RGWObjectExpirer::process_single_shard"
because of time expired when 'truncated' is true(as follow code):

void RGWObjectExpirer::process_single_shard(const string& shard,
const utime_t& last_run,
const utime_t& round_start) {
...
ret = store->objexp_hint_list(shard, rt_last, rt_start,
num_entries, marker, entries,
&out_marker, &truncated);
...
if (now >= end) {
break;
}
...
}
there may be some object whose index is in [marker, round_start] are not process


Related issues

Copied to rgw - Backport #17033: jewel: rgw: there may be some objects not delete in some circumstances Resolved

History

#1 Updated by Radoslaw Zarzynski over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski

#2 Updated by Radoslaw Zarzynski over 2 years ago

  • Backport set to jewel

#3 Updated by Radoslaw Zarzynski over 2 years ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Loic Dachary over 2 years ago

  • Copied to Backport #17033: jewel: rgw: there may be some objects not delete in some circumstances added

#6 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF