-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mimic: rgw: swift object expiry fails when a bucket reshards #29258
Commits on Oct 1, 2019
-
doc: add troubleshooting notes on reshard admin clis
Adding a note on LC fixes and reshard stale instance fixes Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit dee9ac2)
Configuration menu - View commit details
-
Copy full SHA for 1b28adb - Browse repository at this point
Copy the full SHA 1b28adbView commit details -
rgw: updates to resharding documentation
Some minor updates to the resharding documentation with the aim of clarifying the language and using terms consistently. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com> (cherry picked from commit 54b6b65)
Configuration menu - View commit details
-
Copy full SHA for 74b8648 - Browse repository at this point
Copy the full SHA 74b8648View commit details -
doc: add a troubleshooting note on resharding expirer fixes
Added a note about the commands added to support stale expired object deletion Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 40bf082)
Configuration menu - View commit details
-
Copy full SHA for b177dda - Browse repository at this point
Copy the full SHA b177ddaView commit details -
doc: add a note on reshard object expirer fixes in PendingReleaseNotes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from ef8329f) Conflicts: PendingReleaseNotes
Configuration menu - View commit details
-
Copy full SHA for 0f0c98f - Browse repository at this point
Copy the full SHA 0f0c98fView commit details -
rgw: object expirer: handle resharded buckets
Previously we fetched the bucket instance info which changes during a reshard causing the bucket info to fail, since the subsequent checks will assume that would mean a deleted bucket, the expiry hint is purged as well, leaving a non deleted object as well as a deleted hint. This should fix newer runs of object expiry processes. Finding out stale expired objects will require more complex rgw-admin tooling support Fixes: https://tracker.ceph.com/issues/39495 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 7f958c6)
Configuration menu - View commit details
-
Copy full SHA for d256b92 - Browse repository at this point
Copy the full SHA d256b92View commit details -
rgw: rgw_bucket: set BucketInfo as const in rgw_remove_object
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 1d1ea1f)
Configuration menu - View commit details
-
Copy full SHA for 5a1cddf - Browse repository at this point
Copy the full SHA 5a1cddfView commit details -
rgw_common: introduce a decode_bl function to decode a bl to type
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 5e56ea6) Conflicts: src/rgw/rgw_common.h - no "static inline string rgw_bl_str" in mimic - cbegin -> begin
Configuration menu - View commit details
-
Copy full SHA for b0e3195 - Browse repository at this point
Copy the full SHA b0e3195View commit details -
rgw: admin: introduce objects expire-stale list and rm
These commands help cleanup stale expired objects after a reshard has happened Contains the following changesets: * rgw_bucket: add a AdminOp function to cleanup stale expired objects There is also a dry run option, which will allow listing to just view the objects before we actually delete them * rgw_bucket: introduce rgw_object_get_attr helper function Since this could be re-used across other functions that try to get a single xattr, both get acl and the new object expire stale commands now use this function to read the value of a single xattr Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit d4c462a) Conflicts: src/rgw/rgw_admin.cc - no strcmp(cmd, "event") in mimic src/rgw/rgw_bucket.cc - adapt to mimic src/rgw/rgw_bucket.h - no "fix_lc_shards" in mimic
Configuration menu - View commit details
-
Copy full SHA for 35554f6 - Browse repository at this point
Copy the full SHA 35554f6View commit details -
rgw: add const to some RGWBucketInfo helpers
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 5c0ee28)
Configuration menu - View commit details
-
Copy full SHA for 0e53929 - Browse repository at this point
Copy the full SHA 0e53929View commit details