]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/LogMonitor: factor logging to file out of update_from_paxos
authorSage Weil <sage@newdream.net>
Tue, 22 Jun 2021 20:24:35 +0000 (16:24 -0400)
committerSage Weil <sage@newdream.net>
Fri, 2 Jul 2021 12:58:30 +0000 (08:58 -0400)
commit7c84e06e6f846f6b4b6fd959218b4d474520f429
treed5d191ebd2ccfa0cd0ac5ad8344a281060fcb539
parentf39f01c4d2cb68e351c124bab3f7f44aea62a791
mon/LogMonitor: factor logging to file out of update_from_paxos

Move this into a helper.  Keep an fd open for each channel so that we
can more efficiently log individual LogEntry's.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/LogMonitor.cc
src/mon/LogMonitor.h
src/mon/Monitor.cc