]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: convert old replicalog entries if needed
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 21 Jan 2015 00:36:34 +0000 (16:36 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 28 Jan 2015 23:56:10 +0000 (15:56 -0800)
commit791c15bddc735dd215f177cff1f982d2690c91f4
tree9e3fae7fb1fe2b9b6cdcca4e1d62e9ff41a94d6f
parent778a53ab7063d4fe8ca02fd588e2da4b4fa26b34
rgw: convert old replicalog entries if needed

If reading a bucket replicalog entry and one doesn't exist, fall back to
the old key, and convert it to the new one. When updating entries, if
entry does not exist do the same.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_replica_log.cc
src/rgw/rgw_replica_log.h
src/rgw/rgw_rest_replica_log.cc