]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add a cluster fingerprint
authorSage Weil <sage@redhat.com>
Wed, 20 Aug 2014 15:59:46 +0000 (08:59 -0700)
committerSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 00:00:41 +0000 (17:00 -0700)
commitebcdeb4cfe201dd0c630386226f9970650689ccf
tree1dfbd212750430e8b0278538bb8851676ea152fd
parentb3b029165d4ac0af3f2143fad205f4e8ab08a30f
mon: add a cluster fingerprint

Generate it on cluster creations with the initial monmap.  Include it in
the report.  Provide no way for this uuid to be fed in to the cluster
(intentionally or not) so that it can be assumed to be a truly unique
identifier for the cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 675b0042eff0ad5e1453838410210b1206c39004)
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/MonmapMonitor.cc