]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add error repo primitives with timestamp comparisons
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Mar 2020 13:22:54 +0000 (09:22 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 13 Apr 2020 15:06:46 +0000 (11:06 -0400)
commit59df17f1d9a9f178845eaa924d6c3ce6664879b4
tree880b2c306314502975d615d4238e76693d67d77a
parentcbd2f7cf13cb070a3bf055617a1f64cef7d7b80f
rgw: add error repo primitives with timestamp comparisons

the sync error repo stores omap keys for each datalog entry that needs a
retry. this adds a new primitive for that, that also stores a timestamp
with each omap key, and will only allow overwrites/removals when a newer
timestamp is provided

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt
src/rgw/rgw_sync_error_repo.cc [new file with mode: 0644]
src/rgw/rgw_sync_error_repo.h [new file with mode: 0644]