]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commit
radosgw-sync: keep full-sync state
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 17 Apr 2015 23:24:42 +0000 (16:24 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 17 Apr 2015 23:24:42 +0000 (16:24 -0700)
commit91575727b37f4bb528bd8c1608d0b09e8b261d9d
tree1c271e01f2520383d59a04b77de403695a0f9014
parentff16bd45c03821ed34fdf4c52612da8fa0499af2
radosgw-sync: keep full-sync state

Use a new replicalog construct to keep track of the full sync stage.
Set state to 'init'. Generate a list of all the buckets that need to exist, update all
these buckets as keys in the replicalog. Then set the state to
'full-sync'. Later we'll set the state to 'incremental'.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
radosgw_agent/client.py
radosgw_agent/sync_tool.py