Yehuda Sadeh
91ed1216d7
rgw_admin: add a few admin commands to the usage
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:50 -07:00
Yehuda Sadeh
aaf0d213eb
rgw_admin: add bi purge command
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:50 -07:00
Yehuda Sadeh
e2b8dc6113
rgw: bucket resharding, adjust logging
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:49 -07:00
Yehuda Sadeh
47f422a4e0
cls/rgw: bi_list() fix is_truncated returned param
...
is_truncated was never set. Also, make sure that we don't return
more entries than requested.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:49 -07:00
Yehuda Sadeh
75da4375ee
rgw_admin: require --yes-i-really-mean-it for bucket reshard
...
in the case where num shards are less or equal to current bucket
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:49 -07:00
Yehuda Sadeh
ac88b5d9e6
rgw_admin: better bucket reshard logging
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:49 -07:00
Yehuda Sadeh
d9c88afec4
rgw: limit bucket reshard num shards to max possible
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:49 -07:00
Yehuda Sadeh
716d096bbb
rgw_admin: fix bi list command
...
Changes scoping of json section, and push the --object param in so that
an object can be specified as a filter.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:48 -07:00
Yehuda Sadeh
97e7ee9ca2
rgw_admin: use aio operations for bucket resharding
...
also created shards manager to make things slightly cleaner
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:48 -07:00
Yehuda Sadeh
dd712384ff
rgw: bucket reshard updates stats
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:48 -07:00
Yehuda Sadeh
4cc7d3a33a
cls/rgw: add bucket_update_stats method
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:48 -07:00
Yehuda Sadeh
094fe3f0cf
rgw_admin: reshard also links to new bucket instance
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:48 -07:00
Yehuda Sadeh
f2d9fc0155
rgw: rgw_link_bucket, use correct bucket structure for entry point
...
The bucket structure might be different than the one that we were using
before.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:47 -07:00
Yehuda Sadeh
d0569f9133
radosgw-admin: bucket reshard needs --num-shards to be specified
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:47 -07:00
Yehuda Sadeh
f87c4b2c2a
cls/rgw: fix bi_list objclass command
...
was filtering entries, even if filter was not specified, and need to
set boundary for plain entries. Also, list_instance_entries() was not
working correctly, and added list_olh_entries().
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:47 -07:00
Yehuda Sadeh
d8c5931bce
rgw_admin: bucket rehsrading, initial work
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:41:47 -07:00
Yehuda Sadeh
b01e732f3d
rgw: utilities to support raw bucket index operations
...
and other related changes.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:40:44 -07:00
Yehuda Sadeh
94afaf722f
rgw: use bucket_info.bucket_id instead of marker where needed
...
We used to use these interchangeably, but they actually have diffent meaning.
The marker is the prefix we assign to the objects in this bucket, whereas
the bucket_id is the bucket instance's id. These used to hold the same
value, but with bucket resharding it's not going to be true anymore.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:40:44 -07:00
Yehuda Sadeh
9b3a2a40a5
cls/rgw: utilities to support raw bucket index operations
...
New flavour of bi_put() call, and a function to extract key off
a raw bi entry.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-19 08:40:44 -07:00
Sage Weil
d8105622fa
Merge pull request #11546 from umullan/uday
...
doc: Fix broken link for caps
2016-10-19 08:58:34 -05:00
Sage Weil
d782d7108b
Merge pull request #11558 from ifed01/wip-rmcoll-more-fixes
...
os/memstore, os/filestore: fix store_test's to satisfy rm_coll behavi…
Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-19 08:54:06 -05:00
Igor Fedotov
b57c9daea5
os/memstore, os/filestore: fix store_test's to satisfy rm_coll behavior expected in store_test
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-19 13:41:40 +00:00
Orit Wasserman
e362f13978
Merge pull request #11207 from yehudasa/wip-17372
...
rgw: get_zonegroup() uses "default" zonegroup if empty
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-19 15:36:09 +02:00
Orit Wasserman
e609e4f5fb
Merge pull request #10919 from pritha-srivastava/wip-17076
...
rgw: Replacing '+' with "%20" in canonical uri for s3 v4 auth.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-19 15:33:17 +02:00
John Spray
5f3eadda2f
Merge pull request #11316 from stiopaa1/mds_sessionMapUnnamedNamespace
...
mds/SessionMap.cc:put classes in unnamed namespace
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-19 15:28:51 +02:00
John Spray
f95894361f
Merge pull request #11450 from stiopaa1/mds_damagetable_moveClassesToCCfile
...
mds/DamageTable: move classes to .cc file
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:27:58 +02:00
John Spray
ed9d35d34b
Merge pull request #11511 from stiopaa1/mds_mdsmap_addConstToMemFunctions
...
mds/MDSMap.h: add const to member functions
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-19 15:27:07 +02:00
John Spray
0928f53d97
Merge pull request #11550 from renhwztetecs/renhw-wip-mgr-doc
...
doc/mgr: fix mgr how long to wait to failover
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:21:45 +02:00
John Spray
6a9824bcd6
Merge pull request #11304 from ajarr/wip-volume-client-recovery-fixes
...
ceph_volume_client: fix recovery from partial auth update
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:18:34 +02:00
John Spray
b1e652c7fd
Merge pull request #11386 from xiexingguo/xxg-wip-mgr-1008
...
mgr: misc minor changes
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:16:22 +02:00
Alfredo Deza
bfc90da9ea
Merge pull request #11507 from ceph/wip-17579
...
build/ops: deb: add python dependencies where needed
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2016-10-19 08:23:10 -04:00
Nathan Cutler
26f0ebd1d4
build/ops: deb: add python dependencies where needed
...
this reverts 48f4576
and f140a8c
Fixes: http://tracker.ceph.com/issues/17579
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-19 13:43:07 +02:00
Nathan Cutler
fcdef1e9a8
build/ops: deb: put depends on separate lines
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-10-19 13:43:07 +02:00
Igor Fedotov
73c40d1b1f
Merge pull request #11557 from xiexingguo/xxg-wip-bluestore-1019
...
os/bluestore: kill overlay related options
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-19 14:40:24 +03:00
John Spray
78ff1d467e
Merge pull request #11516 from david-z/wip-add-force-ro-ceph-string
...
common/ceph_string: add ceph string constants for CEPH_SESSION_FORCE_RO
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 13:35:20 +02:00
Kefu Chai
1945da333b
Merge pull request #11552 from tchaikov/wip-fix-enc
...
include/object: pass "snapid_t&" to bound_encode()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-10-19 18:33:09 +08:00
John Spray
6d40a8140f
Merge pull request #11434 from batrick/mds-cmd-deprecated
...
Flag deprecated mds commands and omit deprecated mon commands in help output
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-19 12:23:34 +02:00
John Spray
691f93ef78
Merge pull request #11486 from batrick/client-gid
...
client: get gid from MonClient
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 12:20:44 +02:00
John Spray
c2d0235ce5
Merge pull request #11373 from ukernel/wip-mds-recall-warning
...
mds: fix false "failing to respond to cache pressure" warning
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 12:19:48 +02:00
Kefu Chai
67e2e04897
Merge pull request #11551 from wjwithagen/wip-wjw-freebsd-lltng
...
do_freebsd.sh: Do not use LTTNG on FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-19 17:23:15 +08:00
Kefu Chai
dbebe41ba5
include/object: pass "snapid_t&" to bound_encode()
...
otherwise the STL container's encoders will segfault when trying to
figure out the element size: they use "denc(*(A*)nullptr, elem_size)"
to do the calculation.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-19 17:04:49 +08:00
huanwen ren
b7891ee3f2
doc/mgr: fix mgr how long to wait to failover
...
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-10-19 17:01:28 +08:00
Willem Jan Withagen
7a9d846df4
do_freebsd.sh: Do not use LLTNG on FreeBSD
...
FreeBSD has Dtrace
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-19 11:00:55 +02:00
Kefu Chai
4d9ce9e9a5
Merge pull request #11534 from ceph/wip-17607-ceph-disk
...
tests: ceph-disk: force debug monc = 0
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-19 15:29:58 +08:00
xie xingguo
78d95682ce
os/bluestore: kill overlay related options
...
These two options are not used anymore.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-19 14:29:16 +08:00
Uday Mullangi
b0ab0f9d98
doc: Fix broken link for caps
...
http://tracker.ceph.com/issues/17587
Signed-off-by: Uday udaymjl@gmail.com
2016-10-19 11:39:04 +05:30
Kefu Chai
78f298df05
Merge pull request #11512 from wjwithagen/wip-wjw-freebsd-depends
...
FreeBSD: update require packages
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-19 11:32:59 +08:00
Sage Weil
5f07ecbfb8
Merge pull request #11204 from liewegas/wip-rados-ack
...
librados: do not request osd ack if no completed completion is set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-10-18 21:40:44 -05:00
Sage Weil
20ee727792
Merge pull request #11213 from liewegas/wip-osd-fastinfo
...
osd: add a pg _fastinfo attribute to reduce per-io metadata updates
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-10-18 21:39:58 -05:00
Sage Weil
0aeea8941b
Merge pull request #11354 from liewegas/wip-rocksdb
...
rocksdb: update to latest, and make it the default for the mons
2016-10-18 21:38:53 -05:00