]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set sync_from_all as true when no value is seen 19038/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 14 Nov 2017 16:39:16 +0000 (17:39 +0100)
committerPrashant D <pdhange@redhat.com>
Mon, 20 Nov 2017 11:58:16 +0000 (06:58 -0500)
commitc6bc756304ff567f39e163e2140d6bb00e8adc6a
tree683d07b941c51f1349daeb88892c2a60892dd610
parent5e519aebe718bd16d52e974beba8e3bf97b04ae8
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>
(cherry picked from commit e0116fa42020ff5c0d78101b9b3b15e62236b4b8)
src/common/ceph_json.h
src/rgw/rgw_json_enc.cc