From: Kefu Chai Date: Wed, 31 Aug 2016 05:11:24 +0000 (+0800) Subject: mon/AuthMonitor: make AuthMonitor::IncType public X-Git-Tag: v0.94.10~38^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e7d9c15871efcd17b9b1064a5ee49edfe4a159e9;p=ceph.git mon/AuthMonitor: make AuthMonitor::IncType public so ceph-objectstore-tool is able to use it when rebuilding monitor db. Fixes: http://tracker.ceph.com/issues/17179 Signed-off-by: Kefu Chai (cherry picked from commit 19ef4f16b3aba04119ac647cd6261c74a57ce829) --- diff --git a/src/mon/AuthMonitor.h b/src/mon/AuthMonitor.h index d66de24985f3..e9f4636bc556 100644 --- a/src/mon/AuthMonitor.h +++ b/src/mon/AuthMonitor.h @@ -35,11 +35,11 @@ class KeyRing; #define MIN_GLOBAL_ID 0x1000 class AuthMonitor : public PaxosService { +public: enum IncType { GLOBAL_ID, AUTH_DATA, }; -public: struct Incremental { IncType inc_type; uint64_t max_global_id;