Project

General

Profile

Actions

Bug #16705

closed

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

Added by wei qiaomiao almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to rgw - Backport #17033: jewel: rgw: there may be some objects not delete in some circumstancesResolvedLoïc DacharyActions
Actions #1

Updated by Radoslaw Zarzynski almost 8 years ago

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

Updated by Radoslaw Zarzynski almost 8 years ago

  • Backport set to jewel
Actions #3

Updated by Radoslaw Zarzynski over 7 years ago

  • Status changed from In Progress to Pending Backport
Actions #5

Updated by Loïc Dachary over 7 years ago

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

Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF