mirror of https://github.com/apache/nifi.git
NIFI-1586 Removed check for distributed ZK quorum before starting the DatadirCleanupMananger to enable autopurge during standalone ZK server usage. This closes #2001
This commit is contained in:
parent
07a6499dae
commit
58fc5f24b8
|
@ -60,7 +60,7 @@ public class ZooKeeperStateServer extends ZooKeeperServerMain {
|
|||
return;
|
||||
}
|
||||
|
||||
if (quorumPeerConfig.isDistributed() && quorumPeerConfig.getPurgeInterval() > 0) {
|
||||
if (quorumPeerConfig.getPurgeInterval() > 0) {
|
||||
datadirCleanupManager = new DatadirCleanupManager(quorumPeerConfig
|
||||
.getDataDir(), quorumPeerConfig.getDataLogDir(), quorumPeerConfig
|
||||
.getSnapRetainCount(), quorumPeerConfig.getPurgeInterval());
|
||||
|
|
Loading…
Reference in New Issue