Project

General

Profile

Bug #21743

rgw: null instance mtime incorrect when enable versioning

Added by shasha lu almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/10/2017
Due date:
% Done:

0%

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

Description

steps to reproduce:
1、create a bucket and put objA
2、get objA. record the Last modified time.
2、enable bucket versioning
3、put objA again
4、the last modified time of null instance objA is changed

null instance and olh share rados object. Null instance using the rados object mtime as its mtime. When olh updated, the rados object mtime will change.
Thus the null instance will be incorrect. When list objects in bucket, the mtime is correct, down the null instance the last modified time is incorrect.


Related issues

Copied to rgw - Backport #21949: luminous: rgw: null instance mtime incorrect when enable versioning Resolved
Copied to rgw - Backport #21950: jewel: rgw: null instance mtime incorrect when enable versioning Resolved

History

#2 Updated by Casey Bodley almost 2 years ago

  • Status changed from New to Pending Backport
  • Backport set to jewel luminous

#3 Updated by Nathan Cutler almost 2 years ago

  • Copied to Backport #21949: luminous: rgw: null instance mtime incorrect when enable versioning added

#4 Updated by Nathan Cutler almost 2 years ago

  • Copied to Backport #21950: jewel: rgw: null instance mtime incorrect when enable versioning added

#5 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF