ceph/src
Sage Weil 44b093c808 ceph: retry new-style mon command if we get EINVAL from the old-style command
We can race with a mon upgrade:

- get command descriptions, get EINVAL
- mons upgrade, new quorum
- send old-style command
- get EINVAL

In this case, we should try one last time to get the command descriptions.

Fixes: #5788
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-09 15:38:39 -07:00
..
auth mon, osd: Clean up "flush(stringstream); bl.append(stringstream.str()) 2013-08-06 06:28:45 -07:00
bash_completion
client mon, osd: Clean up "flush(stringstream); bl.append(stringstream.str()) 2013-08-06 06:28:45 -07:00
cls cls/rgw/cls_rgw.cc: init start_key_added with false 2013-07-22 12:58:28 +02:00
common common: pick_addresses: fix bug with observer class that triggered #5205 2013-08-09 14:48:15 -07:00
crush crush: return EINVAL on invalid name from {insert,update,create_or_move}_item, set_item_name 2013-07-16 15:13:55 -07:00
doc
global global/signal_handler: poll on the control pipe, too 2013-07-24 13:56:17 -07:00
gtest
include buffer: change #include order 2013-08-08 18:38:50 -07:00
java
jobs
json_spirit
key_value_store
librados RadosClient: shutdown monclient after dropping lock 2013-08-08 22:40:53 -07:00
librbd
libs3@9dc3a9c683
log
mds mds: reorder suicide/shutdown a bit 2013-07-20 08:46:57 -07:00
messages message: Fix asserts that dont' trigger 2013-07-26 18:31:04 -07:00
mon mon: fix 'osd crush rule rm ...' dup arg 2013-08-08 08:30:01 -07:00
mount
msg msgr: mark addr-based [lazy_]send_message and get_connection deprecated 2013-07-19 13:21:48 -07:00
objclass
objsync
ocf
os remove unused fiemap code 2013-07-26 16:58:14 -07:00
osd OSD: suspend timeout on process_peering_events pg lock 2013-08-06 15:04:33 -07:00
osdc mon, osd: Clean up "flush(stringstream); bl.append(stringstream.str()) 2013-08-06 06:28:45 -07:00
perfglue
pybind ceph.in, ceph_rest_api.py: import only used syms from ceph_argparse.py 2013-08-05 11:21:19 -07:00
rbd_fuse
rgw rgw: return 423 Locked response when failing to lock object 2013-08-09 12:49:10 -07:00
script
test test: Fix valgrind found "Mismatched free() / delete / delete []" 2013-07-31 12:04:23 -07:00
tools ceph-monstore-tool: dump paxos transactions 2013-07-22 14:12:51 -07:00
upstart upstart: stop ceph-create-keys when the monitor stops 2013-07-26 14:07:02 -07:00
.gitignore
barclass.cc
btrfs_ioc_test.c
ceph_authtool.cc ceph_authtool.cc: update help/usage text 2013-07-28 23:25:58 +02:00
ceph_common.sh
ceph_conf.cc
ceph_fuse.cc
ceph_mds.cc mon, mds, osd: add early SIGTERM injection 2013-07-20 08:49:48 -07:00
ceph_mon.cc mon, mds, osd: add early SIGTERM injection 2013-07-20 08:49:48 -07:00
ceph_osd.cc mon, mds, osd: add early SIGTERM injection 2013-07-20 08:49:48 -07:00
ceph_syn.cc
ceph_ver.c
ceph-clsinfo
ceph-coverage.in
ceph-create-keys
ceph-debugpack.in
ceph-disk make sure we are using the mount options 2013-08-08 18:38:08 -07:00
ceph-disk-activate
ceph-disk-prepare
ceph-disk-udev
ceph-rbdnamer
ceph-rest-api ceph-rest-api: clean up options/environment 2013-07-26 21:38:12 -07:00
ceph-run
ceph.conf.twoosds
ceph.in ceph: retry new-style mon command if we get EINVAL from the old-style command 2013-08-09 15:38:39 -07:00
cephfs.cc
check_version
cls_acl.cc
cls_crypto.cc
cmonctl
crushtool.cc
dupstore.cc
fetch_config
fooclass.cc
init-ceph.in config_opts.h: increase xfs,btrfs wbthrottle defaults 2013-07-25 11:10:45 -07:00
init-radosgw
init-radosgw.sysv
init-rbdmap
libcephfs.cc
librados-config.cc
loadclass.sh
logrotate.conf
make_version
Makefile.am remove unused fiemap code 2013-07-26 16:58:14 -07:00
mkcephfs.in
mon_store_converter.cc
monmaptool.cc
mount.fuse.ceph
multi-dump.sh
osdmaptool.cc
ps-ceph.pl
psim.cc
push_to_qemu.pl
rados_export.cc
rados_import.cc
rados_sync.cc
rados_sync.h
rados.cc
radosacl.cc
rbd.cc remove unused fiemap code 2013-07-26 16:58:14 -07:00
rbdmap
README
sample.ceph.conf
scratchtool.c
scratchtoolpp.cc
stop.sh
streamtest.cc
test_trans.cc
testclass.cc
testcrypto.cc
testkeys.cc
testmsgr.cc
TODO
unittest_bufferlist.sh
valgrind.supp
verify-mds-journal.sh
vstart.sh

Sage Weil <sage@newdream.net>
Ceph - scalable distributed storage system