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 2018/07/08 10:25:52 UTC

[GitHub] bruth opened a new issue #2110: get-retention returns retentionSizeInMB as 0 when set to -1

bruth opened a new issue #2110: get-retention returns retentionSizeInMB as 0 when set to -1
URL: https://github.com/apache/incubator-pulsar/issues/2110
 
 
   #### Expected behavior
   
   `retentionSizeInMB` should have a value of -1.
   
   #### Actual behavior
   
   `retentionSizeInMB` is still 0.
   
   #### Steps to reproduce
   
   ```bash
   # Default is 0 and 0 for size and time.
   pulsar-admin namespaces get-retention public/default
   # Set to -1 for infinite size and time retention.
   pulsar-admin namespaces set-retention public/default --size -1 --time -1
   # Get retention again, but size still says 0.
   pulsar-admin namespaces get-retention public/default
   ```
   
   Is this simply a bug in the admin API for reporting the wrong value or is the size retention not being set properly?
   
   #### System configuration
   **Pulsar version**: 2.0.1-incubating
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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