zymap commented on a change in pull request #9016:
URL: https://github.com/apache/pulsar/pull/9016#discussion_r548419089
##########
File path:
pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/Policies.java
##########
@@ -241,18 +241,16 @@ public String toString() {
}
- private static final long MAX_BUNDLES = ((long) 1) << 32;
-
public static BundlesData getBundles(int numBundles) {
- if (numBundles <= 0 || numBundles > MAX_BUNDLES) {
+ if (numBundles <= 0) {
Review comment:
Please take a look at this change. I am not sure why we used the long
value before.
----------------------------------------------------------------
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:
[email protected]