You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/07/25 12:20:12 UTC
[GitHub] [pulsar] fxbing opened a new pull request #4810: Fix : default
retention policy in configuration do nothing
fxbing opened a new pull request #4810: Fix : default retention policy in configuration do nothing
URL: https://github.com/apache/pulsar/pull/4810
fix #4755
Retention policy is used in Ledger GC and Topic GC.
Default retention policy is not uploaded zookeeper, but it is getted from zookeeper when it is used.
So, if zookeeper doesn't have retention policy, we should load it from default config file.
In Ledger GC configuration, it's OK.
https://github.com/apache/pulsar/blob/075f28b71c8fd9259ce8e136dbb81c0629c3f271/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L739-L742
But in Topic GC, do nothing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services