[
https://issues.apache.org/jira/browse/ARTEMIS-4315?focusedWorklogId=866756&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-866756
]
ASF GitHub Bot logged work on ARTEMIS-4315:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 21/Jun/23 13:08
Start Date: 21/Jun/23 13:08
Worklog Time Spent: 10m
Work Description: gemmellr merged PR #4510:
URL: https://github.com/apache/activemq-artemis/pull/4510
Issue Time Tracking
-------------------
Worklog Id: (was: 866756)
Time Spent: 20m (was: 10m)
> Incorrect validation for page-limit settings
> --------------------------------------------
>
> Key: ARTEMIS-4315
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4315
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> From the user's mailing list...
> {quote}
> We started using {{<page-limit-bytes>}} starting 2.28.0 version however there
> seems to be some mismatch as to what is in docs and the max value expected
> for this.
> ...
> From the docs, the example snippet has
> {{<page-limit-bytes>10G</page-limit-bytes>}}, however when we tried to set
> {{2G}} it fails with error.
> {noformat}
> Integer.MAX_VALUE can only support < 2G{noformat}
> so is this an issue with validation alone?
> {noformat}
> java.lang.IllegalArgumentException: AMQ229227: page-limit-bytes must be
> equals to -1 or greater than 0 and less than or equal to Integer.MAX_VALUE
> (actual value: 2147483648)
> at
> org.apache.activemq.artemis.core.config.impl.Validators$11.validate(Validators.java:159)
> ~[artemis-server-2.28.0.jar:2.28.0]{noformat}{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)