]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: persist global_id across re-connecting 13550/head
authorKefu Chai <kchai@redhat.com>
Tue, 21 Feb 2017 04:01:10 +0000 (12:01 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 21 Feb 2017 04:01:12 +0000 (12:01 +0800)
commit8bb6193c8f53d992df8de30c2750c94008171c18
tree069fa58e95bf34f4b75782aa4944211b7dd1a09c
parenta4fcdb6133c8a197fa479463cb540c37fd3b12dd
mon/MonClient: persist global_id across re-connecting

MonClient should re-use previously assigned global-id after
re-connecting. and should not have its global-id changed once it is
authenticated unless monitor thinks otherwise.

Fixes: http://tracker.ceph.com/issues/18968
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/MonClient.cc
src/mon/MonClient.h