we don't. `markLedgerReplicated` is used by replication worker, which replication worker is single threaded and using sync methods. so `markLedgerReplicated` is fine at the context. only `markLedgerUnderreplicated` is the issue.
ideally, LedgerUnderreplicationManager should be splitted into at least 2 interfaces, one for Auditor, the other one for ReplicationWorker. That would make things much clearer. [ Full content available at: https://github.com/apache/bookkeeper/pull/1619 ] This message was relayed via gitbox.apache.org for [email protected]
