MCPcopy Create free account
hub / github.com/apache/mesos / finalize

Method finalize

src/log/consensus.cpp:637–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 }
636
637 void finalize() override
638 {
639 // Discard the futures we're waiting for.
640 promising.discard();
641 writing.discard();
642
643 // TODO(benh): Discard our promise only after 'promising' and
644 // 'writing' have completed (ready, failed, or discarded).
645 promise.discard();
646 }
647
648private:
649 void runPromisePhase()

Callers

nothing calls this directly

Calls 1

discardMethod · 0.45

Tested by

no test coverage detected