Class Auditor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Auditor
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Auditor is a single entity in the entire Bookie cluster and will be watching all the bookies under 'ledgerrootpath/available' zkpath. When any of the bookie failed or disconnected from zk, he will start initiating the re-replication activities by keeping all the corresponding ledgers of the failed bookie as underreplicated znode in zk.

    TODO: eliminate the direct usage of zookeeper here {@link https://github.com/apache/bookkeeper/issues/1332}