]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: set sync_from_all as true when no value is seen 18926/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 14 Nov 2017 16:39:16 +0000 (17:39 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 14 Nov 2017 18:42:13 +0000 (19:42 +0100)
commite0116fa42020ff5c0d78101b9b3b15e62236b4b8
treec29dd8589e1b478255a2d18bee71f8ed718548ac
parent5094838ab96e71955f31fa56072c1ef729800bb7
rgw: set sync_from_all as true when no value is seen

In order to support jewel-luminous multisite scenarios where when a
jewel cluster is the master, the sync-from-all json field wouldn't be
set leading to the secondary not syncing data as this value can't be
overriden to true, so defaulting the value of sync_from_all to true when
we don't encounter it in the json

Fixes: http://tracker.ceph.com/issues/22062
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/common/ceph_json.h
src/rgw/rgw_json_enc.cc