pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] rivernate opened a new issue #8440: pulsar-admin cli namepsace offload policy labels deletion lag incorrectly
Date Tue, 03 Nov 2020 23:51:31 GMT

rivernate opened a new issue #8440:
URL: https://github.com/apache/pulsar/issues/8440


   **Describe the bug**
   When using the pulsar-admin cli tool to set an offload policy for a namespace, the deletion
lag setting is labeled as "offloadAfterElapsedInMillis" and the documentation for the command
describes it as setting the amount of elapsed time before an offload happens. What it actually
sets is the deletion lag for the namespace
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Use the pulsar-admin cli to set a offload policy for a namespace
   2. in the policy specify the offloadAfterElapsedTime
   3. use the pulsar-admin cli to retrieve the policy
   4. The deletion lag setting was changed instead
   
   **Expected behavior**
   The documentation and options should be changed to correctly describe it as changing the
deletion lag
   
   
   
   **Additional context**
   Add any other context about the problem here.
   
   See:
   https://github.com/apache/pulsar/blob/ec2de258ce39b38311e92bab6882c198070d8975/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java#L1598
   


----------------------------------------------------------------
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



Mime
View raw message