]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: reshard add: fail correctly on a non existant bucket 24594/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 15 Oct 2018 20:00:33 +0000 (22:00 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 15 Oct 2018 20:00:33 +0000 (22:00 +0200)
commitc564b348a24edf2804a8f5f0d034f388be1c5c5f
treec162c17ffe311825502933ff08015cdd70e16670
parentc552f166c3bb18cd239ba5e8b6365fb4101b35f0
rgw: reshard add: fail correctly on a non existant bucket

Currently the method that validates the reshard params does not fail correctly
in case of a non existant bucket causing reshard add to print an error message
but add the non existant bucket to the queue anyway. This will later be a cause
of EBUSY errors as this entry on the logshard  can never be processed.

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