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 2022/10/19 09:45:16 UTC

[GitHub] [pulsar] visortelle opened a new issue, #18112: [Bug] RetentionPolicies types mismatch

visortelle opened a new issue, #18112:
URL: https://github.com/apache/pulsar/issues/18112

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   `master` branch.
   
   ### Minimal reproduce step
   
   The `retentionSizeInMB` field has `long` type here:
   
   https://github.com/apache/pulsar/blob/7404e0d77d98c2ec4fab9a111b8ced38d33dcd5a/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java#L32
   
   But it is an `int` type in the constructor:
   
   https://github.com/apache/pulsar/blob/7404e0d77d98c2ec4fab9a111b8ced38d33dcd5a/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java#L38
   
   ### What did you expect to see?
   
   I expect the same types for the private field and the constructor.
   
   ### What did you see instead?
   
   It's not a user-faced bug.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Technoboy- closed issue #18112: [Bug] RetentionPolicies types mismatch

Posted by GitBox <gi...@apache.org>.
Technoboy- closed issue #18112: [Bug] RetentionPolicies types mismatch
URL: https://github.com/apache/pulsar/issues/18112


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org