]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_rados: create sync module instances only if run_sync_thread is set 14994/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 8 May 2017 11:38:32 +0000 (13:38 +0200)
committerAbhishek Lekshmanan <alekshmanan@suse.com>
Fri, 19 May 2017 20:08:13 +0000 (22:08 +0200)
commite46fc5022cc029544bc985b317622ed405bedf08
tree9d8afae12716151ed0207bb875fdca6ac1b551b3
parentdba3de2a8c6e17f0d7c948bf34bc84a6f0dbcc2d
rgw_rados: create sync module instances only if run_sync_thread is set

This allows for radosgw-admin to run even if there was a
misconfiguration in setting tier types which would otherwise make it
difficult to revert an invalid tier type setting. Since sync modules are
necessary only for rgw and not for the admin itself, this allows for
invalid tier configurations to be corrected as rgw-admin wouldn't fail

Fixes: http://tracker.ceph.com/issues/19830
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_rados.cc