]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Willem Jan Withagen [Tue, 6 Jun 2017 21:35:18 +0000 (23:35 +0200)]
test: osd/TestOSDMap.cc: fix Clang complain about promotion
/home/jenkins/workspace/ceph-freebsd/src/test/osd/TestOSDMap.cc:444:15: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing]
m.set(x, {i});
^
/home/jenkins/workspace/ceph-freebsd/src/test/osd/TestOSDMap.cc:444:15: note: insert an explicit cast to silence this issue
m.set(x, {i});
^
static_cast<int>( )
1 error generated.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Tue, 6 Jun 2017 20:31:22 +0000 (15:31 -0500)]
Merge pull request #15513 from Fabian-Gruenbichler/fixmgrdesc
debian: ceph-mgr: fix package description
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Tue, 6 Jun 2017 20:27:07 +0000 (15:27 -0500)]
Merge pull request #15375 from ivancich/wip-fix-dmclock-testing
osd/dmclock/testing: reorganize testing, building now optional
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Tue, 6 Jun 2017 20:26:28 +0000 (15:26 -0500)]
Merge pull request #15378 from Liuchang0812/print_ret_code_of_json_command
ceph.in: print return code when json_command failed
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 6 Jun 2017 20:26:15 +0000 (15:26 -0500)]
Merge pull request #15496 from wjwithagen/wip-wjw-host-to-ceph-errno
core: include/types.h, introduce host_to_ceph_errno
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 6 Jun 2017 20:25:37 +0000 (15:25 -0500)]
Merge pull request #15500 from liewegas/wip-20135
pybind/ceph_argparse: fix empty string check
Sage Weil [Tue, 6 Jun 2017 20:25:16 +0000 (15:25 -0500)]
Merge pull request #15502 from xiexingguo/wip-fix-overload-extents
os/bluestore: avoid overloading extents during reshard; atomic deferred_batch_ops
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
J. Eric Ivancich [Fri, 19 May 2017 20:54:33 +0000 (16:54 -0400)]
osd/dmclock/testing: reorganize testing, building now optional
Modify cmake files to take advantage or re-organization of dmclock's
cmake set-up, specifically not having dmclock's cmake files call
add_test. Remove dmclock tests from being dependencies on ceph's
"test" target. Make change so dmclock tests are not built unless
WITH_TESTS and WITH_DMCLOCK_TESTS are both set. This is so openSUSE
Leap will build correctly.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Tue, 6 Jun 2017 19:01:03 +0000 (15:01 -0400)]
Merge commit '
5c612d7e32a07a01b3b97f9cf58f2a3cef0e2e73 '
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Tue, 6 Jun 2017 19:01:02 +0000 (15:01 -0400)]
Squashed 'src/dmclock/' changes from
d6586d7 ..
64bcc6e
64bcc6e Remove FindGTest and FindBoost, which already exist in cmake required version 2.8.11 and later. Also clean up.
ed6dc60 Do some clean-up and remove memory leaks from tests and simulations.
360172a Allow RunEvery object to be ended before destruction via "join" member function.
135b5d0 Fix two bugs discovered by valgrind. Do some other code clean-up as well.
a26d29e Modify cmake files to match naming of cmake's upstream gtest and ceph's boost.
e23e63f Reorganize CMakeLists.txt files, so that projects that incorporate dmclock can control whether add_test is called. Now, add_test is called only at the top-level. Projects that incorporate dmclock can use add_subdirectory on subdirectories beneath the top-level to selective exactly what is included.
git-subtree-dir: src/dmclock
git-subtree-split:
64bcc6ea697c7e790ec4a4229d1bb1d492f9e803
Sage Weil [Tue, 6 Jun 2017 18:19:18 +0000 (13:19 -0500)]
Merge pull request #15390 from liewegas/wip-osdmap-state
osd/OSDMap: make osd_state 32 bits wide
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Dan Mick [Tue, 6 Jun 2017 18:01:53 +0000 (11:01 -0700)]
Merge pull request #15515 from tchaikov/wip-crc32-aarch64
crc32c: include acconfig.h to fix ceph_crc32c_aarch64()
Reviewed-by: Dan Mick <dmick@redhat.com>
Kefu Chai [Tue, 6 Jun 2017 13:40:19 +0000 (21:40 +0800)]
crc32c: include acconfig.h to fix ceph_crc32c_aarch64()
HAVE_ARMV8_CRC is defined by "acconfig.h". so we need to include it for
the definition.
it's a regresssion introduced by
2a3382f . in that change,
crc32c_intel_baseline.h was removed from crc32.cc, and that header
includes accconfig.h indirectly. that's why we will have a dummy
ceph_crc32c_aarch64() which always returns 0. the dummy implementation
was intended to please the compiler. but we can probably just drop it in
future as a cleanup.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 6 Jun 2017 13:57:49 +0000 (21:57 +0800)]
Merge pull request #15511 from tchaikov/wip-doc-cartesian-product
doc: update sample explaning "%" operator in test suites
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 6 Jun 2017 13:25:15 +0000 (08:25 -0500)]
Merge pull request #14074 from jecluis/wip-mon-osd-replacement
mon: replace osds with `osd destroy` and `osd new`
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 6 Jun 2017 13:24:48 +0000 (08:24 -0500)]
Merge pull request #15487 from liewegas/wip-no-more-stat-spam
mgr/DaemonServer: stop spamming log with pg stats
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 6 Jun 2017 13:24:08 +0000 (08:24 -0500)]
Merge pull request #15494 from liewegas/wip-20187
qa/workunits/cephtool/test.sh: fix osd full health detail grep
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 6 Jun 2017 13:23:32 +0000 (09:23 -0400)]
pybind/ceph_argparse: fix no arg check
This fixes breakage from commit
a1214a702cfd8465deb91847f4dc63c0e80fb586
that caused a [] to be appended to some json argument lists.
Fixes: http://tracker.ceph.com/issues/20135
Signed-off-by: Sage Weil <sage@redhat.com>
Fabian Grünbichler [Thu, 18 May 2017 12:35:19 +0000 (14:35 +0200)]
ceph-mgr: fix package description
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
liuchang0812 [Wed, 31 May 2017 07:34:25 +0000 (15:34 +0800)]
tool/ceph: print return code when json_command failed
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Kefu Chai [Tue, 6 Jun 2017 12:06:52 +0000 (20:06 +0800)]
doc: update sample explaning "%" operator in tes suites
Signed-off-by: Kefu Chai <kchai@redhat.com>
John Spray [Tue, 6 Jun 2017 11:36:05 +0000 (12:36 +0100)]
Merge pull request #15499 from jcsp/wip-doc-whitespace
doc: fix syntax on code snippets in cephfs/multimds
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Tue, 6 Jun 2017 10:49:29 +0000 (13:49 +0300)]
Merge pull request #15492 from dillaman/wip-20185
rbd: properly decode features when using image name optional
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 6 Jun 2017 10:48:51 +0000 (13:48 +0300)]
Merge pull request #15483 from dillaman/wip-20182
librbd: filter expected error codes from is_exclusive_lock_owner
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Boris Ranto [Tue, 6 Jun 2017 08:47:29 +0000 (10:47 +0200)]
Merge pull request #15490 from ceph/wip-fix-selinux
selinux: Install ceph-base before ceph-selinux
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Tue, 6 Jun 2017 07:38:34 +0000 (10:38 +0300)]
Merge pull request #15415 from dillaman/wip-rbd-valgrind
librbd: fix valgrind errors and ensure tests detect future leaks
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 6 Jun 2017 07:37:56 +0000 (10:37 +0300)]
Merge pull request #15140 from dillaman/wip-18963
rbd-mirror: permit release of local image exclusive lock after force promotion
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
xie xingguo [Tue, 6 Jun 2017 02:38:57 +0000 (10:38 +0800)]
os/bluestore: reduce overhead when trying to unshard blobs
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 6 Jun 2017 01:21:05 +0000 (09:21 +0800)]
os/bluestore: atomic deferred_batch_ops
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 6 Jun 2017 01:16:22 +0000 (09:16 +0800)]
os/bluestore: avoid overloading of extents during reshard
This is potentially big stuff...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Haomai Wang [Tue, 6 Jun 2017 01:22:52 +0000 (09:22 +0800)]
Merge pull request #15484 from Adirl/wip
msg/async/rdma: Add DSCP support
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yehuda Sadeh [Tue, 6 Jun 2017 00:10:04 +0000 (17:10 -0700)]
Merge pull request #15493 from yehudasa/wip-rgw-dynamic-sharding
rgw: dynamic resharding
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Mon, 5 Jun 2017 20:07:42 +0000 (13:07 -0700)]
cls/rgw: add missing members initialization
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Mon, 5 Jun 2017 21:39:32 +0000 (16:39 -0500)]
Merge pull request #14239 from liewegas/wip-bluestore-ec-clone
os/bluestore: try to unshare blobs for EC overwrite workload
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Mon, 5 Jun 2017 21:39:05 +0000 (16:39 -0500)]
Merge pull request #15299 from joscollin/wip-cleanup-redundant-headers-6
common: Remove redundant includes - 6
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Jun 2017 21:36:36 +0000 (16:36 -0500)]
Merge pull request #15429 from jcsp/wip-nuke-rest
pybind/mgr: Delete `rest` module
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Mon, 5 Jun 2017 17:05:24 +0000 (10:05 -0700)]
rgw: fix a race
We referred to complete_op_data after aio call that could have released
it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 2 Jun 2017 22:15:27 +0000 (15:15 -0700)]
test/cli/radosgw-admin: update reference help.t
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 2 Jun 2017 21:42:13 +0000 (14:42 -0700)]
rgw: fix index completion
Was missing bucket complete op, only had the guard (bad merge?).
Pass zones_trace as pointer and treat it as optional param (which
it is).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 2 Jun 2017 00:21:07 +0000 (17:21 -0700)]
rgw: increase max shard prime, consolidate logic
Handle larger num of shards (max ~64k now). Use the same hash logic for shard ids
everywhere.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 1 Jun 2017 23:55:35 +0000 (16:55 -0700)]
rgw: new num shards proportional to number of objects per shard
and also limit number of shards to not exceed the max.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 30 May 2017 23:35:17 +0000 (16:35 -0700)]
rgw: handle zones_trace in bi async completion handler
needed following a rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 25 May 2017 21:11:01 +0000 (14:11 -0700)]
rgw: remove debug helper code
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:57:28 +0000 (16:57 -0700)]
rgw: ignore -ENOENT on bi_list()
just treat it as success with empty result
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Sun, 28 May 2017 07:42:54 +0000 (10:42 +0300)]
rgw: run resharding thread only on master zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 23 May 2017 15:45:00 +0000 (18:45 +0300)]
rgw: add check to see if out is null
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 23 May 2017 10:37:08 +0000 (13:37 +0300)]
rgw: update entry in resharding log when resharding has started
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 21 May 2017 10:26:37 +0000 (13:26 +0300)]
rgw: start resharding theard
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Thu, 18 May 2017 18:51:21 +0000 (11:51 -0700)]
rgw: replace reshard blocking sleep with interruptible condition wait
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Fri, 19 May 2017 11:02:17 +0000 (14:02 +0300)]
rgw: add bucket to resharding queue if needs resharding
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Thu, 25 May 2017 00:00:02 +0000 (17:00 -0700)]
rgw-admin: radosgw-admin reshard execute -> reshard process
to be in line with other radosgw-admin commands.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:01:25 +0000 (16:01 -0700)]
rgw: update bucket instance with resharding details
can be useful info for later in a cross zone sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 20:21:43 +0000 (13:21 -0700)]
radosgw-admin: reshard execute output adjustments
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 18:47:05 +0000 (11:47 -0700)]
cls/rgw: remove unused field in reshard entry
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 18:21:46 +0000 (11:21 -0700)]
rgw: reshard: renew lease and handle marker when listing reshard repo
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 18:24:20 +0000 (11:24 -0700)]
cls/rgw: fix reshard_list truncation identification
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 18:23:46 +0000 (11:23 -0700)]
cls/rgw: expose api to generate reshard indexing key
So that we could use it as a marker when doing reshard_list.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 23 May 2017 00:10:14 +0000 (17:10 -0700)]
rgw: remove unneeded and duplicate code
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 23 May 2017 00:10:07 +0000 (17:10 -0700)]
rgw: initialize bucket structure
after reading bucket info
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:58:47 +0000 (16:58 -0700)]
rgw-admin: revive reshard execute command
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:58:19 +0000 (16:58 -0700)]
rgw: bucket_id does not include bucket name
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:55:21 +0000 (16:55 -0700)]
rgw: bi_list() initialize is_truncated if -ENOENT
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:54:30 +0000 (16:54 -0700)]
rgw: internal api cleanup
rename method, minor change
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 May 2017 23:53:34 +0000 (16:53 -0700)]
cls/rgw: reshard add command doesn't read existing status
No need to read existing status.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 May 2017 22:44:06 +0000 (15:44 -0700)]
cls/rgw: fix remove_reshard objclass op
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 May 2017 16:22:29 +0000 (09:22 -0700)]
cls/rgw: modify logshard key
The logshard key shouldn't include bucket id.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 18 May 2017 23:21:19 +0000 (16:21 -0700)]
rgw: multiple fixes and adjustments related to resharding scheduler
still wip, but:
- get rid of some unneeded rados locking
- rename shards to logshards where relevant to avoid confusion
- remove unused code
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 18 May 2017 21:48:07 +0000 (14:48 -0700)]
rgw: fix compilation following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 18 May 2017 18:51:21 +0000 (11:51 -0700)]
rgw: replace reshard blocking sleep with interruptible condition wait
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Fri, 19 May 2017 13:48:12 +0000 (16:48 +0300)]
rgw: actually reshard an entry from the resharding queue
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 19 May 2017 12:20:18 +0000 (15:20 +0300)]
rgw: check if buckets needs resharding on all ops that add new objects
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 19 May 2017 11:02:17 +0000 (14:02 +0300)]
rgw: add bucket to resharding queue if needs resharding
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 18 May 2017 19:48:28 +0000 (22:48 +0300)]
rgw: check for bucket resharding when adding an object
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 18 May 2017 19:47:12 +0000 (22:47 +0300)]
rgw: add a function to add a bucket to the resharding queue
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 18 May 2017 04:01:35 +0000 (07:01 +0300)]
rgw: add a check_bucket_shards to the quota
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 14 May 2017 08:03:22 +0000 (11:03 +0300)]
rgw: moved reshard_bucket into RGWReshard
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 14 May 2017 06:05:49 +0000 (09:05 +0300)]
rgw: remove cct from RGWReshard and BucketIndexLockGuard
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 14 May 2017 05:34:04 +0000 (08:34 +0300)]
rgw: add resharding thread
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Wed, 17 May 2017 23:40:16 +0000 (16:40 -0700)]
rgw: store new num shards in bucket index reshard entry
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 May 2017 21:50:53 +0000 (14:50 -0700)]
rgw: fix deletion of index completion object
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 May 2017 01:10:15 +0000 (18:10 -0700)]
rgw: reshard complete handling, use multiple locks
to reduce contention. Also, fix completions cleanup.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 16 May 2017 23:33:17 +0000 (16:33 -0700)]
rgw: clean up index completions on shutdown
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 16 May 2017 22:30:32 +0000 (15:30 -0700)]
rgw: update data log after index completion reshard handling
Also rearrange code a bit.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 13 May 2017 00:07:04 +0000 (17:07 -0700)]
rgw: guard resharding in async completions
Catch return value from async index completions, resend operations
synchronously on a separate worker thread if needed.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 12 May 2017 21:44:06 +0000 (14:44 -0700)]
rgw: reshard guard for versioned operations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 12 May 2017 18:47:54 +0000 (11:47 -0700)]
cls/rgw: changes to support reshard guard on olh bi ops
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 11 May 2017 22:41:15 +0000 (15:41 -0700)]
rgw: handle reshard wait logic in cancel() too
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 11 May 2017 17:39:26 +0000 (10:39 -0700)]
rgw: fix update_bucket_id, reshard blocking logic
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 10 May 2017 23:58:41 +0000 (16:58 -0700)]
rgw_admin: add rgw-admin reshard status command and initial blocking logic
A command that returns the reshard status field on the bucket index objects (all
shards).
Also, initial implementation of identifying and blocking while reshard in
progress.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 10 May 2017 18:46:57 +0000 (11:46 -0700)]
rgw: more detailed resharding status kept in bucket header
So that we can differentiate between in-progress and complete status.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 10 May 2017 16:39:55 +0000 (09:39 -0700)]
rgw: a few fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 9 May 2017 22:38:57 +0000 (15:38 -0700)]
rgw: mark source bucket shards when starting reshard
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 9 May 2017 22:19:10 +0000 (15:19 -0700)]
rgw: move resharding code to BucketReshard class
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 9 May 2017 20:41:30 +0000 (13:41 -0700)]
rgw: split per-bucket resharding logic out from general resharding
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 8 May 2017 22:42:11 +0000 (15:42 -0700)]
rgw: revert some reshard blocking logic
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 8 May 2017 21:43:37 +0000 (14:43 -0700)]
cls/rgw: create an objclass method to guard in-progress resharding
This method will be called on the bucket index shard.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Mon, 8 May 2017 13:41:35 +0000 (16:41 +0300)]
rgw: RGWReshard update to new cls API
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Thu, 4 May 2017 22:11:09 +0000 (15:11 -0700)]
cls/rgw: adjust types and ops
- don't keep data bufferlist in struct cls_rgw_bucket_instance_entry
- remove rgw_get_bucket_instance
We need to keep the reshard info as part of the bucket index header (for
each source bucket shard), and not in a separate object. Otherwise it'll
be impossible to have the resharding check atomic as part of the regular
bucket index updates.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 4 May 2017 20:50:26 +0000 (13:50 -0700)]
cls/rgw: minor changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 4 May 2017 20:39:54 +0000 (13:39 -0700)]
cls/rgw: generate_reshard_key, change output param
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>