]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: reshard improvements
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 9 Nov 2018 00:40:48 +0000 (19:40 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 9 Nov 2018 15:21:56 +0000 (10:21 -0500)
commitb713bb77a1d57d7413169bb922984659390ed55e
treeb066d92a09223fa83b58e930e2a2534776105ab1
parent5552971a8b31f2dd70f9b92048337d7594a86d77
rgw: reshard improvements

Improve error log message when an expired reshard lock is renewed.

Add two new configurable options to manage resharding:
* rgw_reshard_batch_size : number of reshard entries to batch together
  before sending the operations to the CLS back-end.
* rgw_reshard_max_aio : maximum number of outstanding asynchronous i/o
  operations to allow at a time.

Alter rgw_reshard_bucket_lock duration default from 2 minutes to 6
minutes.

Add documentation, minimum values, tags, and service to a few rgw
reshard configuration options. Change some rgw_reshard_* options from
LEVEL_DEV to LEVEL_ADVANCED.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/common/options.cc
src/rgw/rgw_reshard.cc