]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: MonOpRequest: send_reply() belongs in the Monitor class
authorJoao Eduardo Luis <joao@suse.de>
Wed, 24 Jun 2015 16:51:56 +0000 (17:51 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Thu, 16 Jul 2015 17:31:22 +0000 (18:31 +0100)
commit7797fcadda713382760a6b98ac347e88da3fb0a7
tree769f89e5d3be22bcf3183cdd09b56331a6d809f3
parent0633354049150a8b8624c267957eeb9a1b4ef643
mon: MonOpRequest: send_reply() belongs in the Monitor class

Op Requests should have no business replying to messages. Besides,
given the Monitor is currently the place to do this, because it is the
one with access to all things that may be required to validate state
(e.g., quorum features), permanently moving this code to the Monitor
class also avoid having duplicate/very similar code in two distinct
places.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/Makefile.am
src/mon/MonOpRequest.cc [deleted file]
src/mon/MonOpRequest.h
src/mon/Monitor.cc