M L created FLINK-19532:
---------------------------

             Summary: FlinkZooKeeperQuorumPeer ignores purge settings
                 Key: FLINK-19532
                 URL: https://issues.apache.org/jira/browse/FLINK-19532
             Project: Flink
          Issue Type: Bug
            Reporter: M L


After noticing the snapshot/log buildup in our ZooKeeper {{dataDir}}, we tried 
enabling the purge settings ({{autopurge.snapRetainCount}} and 
autopurge.purgeInterval).

Flink's {{FlinkZooKeeperQuorumPeer}} ignores the portion of {{QuorumPeerMain}} 
which uses those settings and starts up the {{DatadirCleanupManager}}, using 
only the {{runFromConfig}} method.

Is this intentional and is the recommended way to handle snapshot buildup with 
the built in ZooKeeper to use the {{PurgeTxnLog}} utility?

It would make sense to enable to support the {{DatadirCleanupManager}} as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to