]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages: add MMDSBeacon::standby_replay
authorJohn Spray <john.spray@redhat.com>
Thu, 24 Mar 2016 13:13:55 +0000 (13:13 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 3 May 2016 11:57:22 +0000 (12:57 +0100)
commitcdf8a29f81475a000824ce8942f02d9d570ec3bb
tree3fb2aaf95a308fa069b09fc4b91ef46a2a33ad0f
parentedfda9c6b0a0c8b75ebff5f06017aa475339b1fd
messages: add MMDSBeacon::standby_replay

So that daemons can explicitly say that they
want to be standby replay, instead of using
magic standby_for_rank values.

Because in some cases daemons would indicate this
with a beacon requesting STANDBY_REPLAY state, we
also munge these during decode to be normal STANDBY
requests with standby_replay=true.

Signed-off-by: John Spray <john.spray@redhat.com>
src/messages/MMDSBeacon.h