diff options
author | Sage Weil <sage@inktank.com> | 2013-08-03 21:12:59 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-03 21:12:59 -0700 |
commit | 429f0b82523645401e707f59500aef087a54d35a (patch) | |
tree | 5ca6b310568cd5315704978fe9a9e36a84da1e3e | |
parent | b70a9abc5e3ae01204256f414bd7e69d083ed7c6 (diff) | |
download | ceph-429f0b82523645401e707f59500aef087a54d35a.tar.gz |
skip missing auth incrmentals. hacky workaround.
-rw-r--r-- | src/mon/AuthMonitor.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index db747b9dbe1..6c6aab86f9a 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -149,6 +149,11 @@ void AuthMonitor::update_from_paxos(bool *need_bootstrap) while (version > keys_ver) { bufferlist bl; int ret = get_version(keys_ver+1, bl); + if (ret == -ENOENT) { + derr << "missing auth inc " << (keys_ver+1) << ", skipping" << dendl; + keys_ver++; + continue; + } assert(ret == 0); assert(bl.length()); |