FrankChen021 opened a new pull request #10598:
URL: https://github.com/apache/druid/pull/10598


   
   This PR is an optimization according to the feedback #10579 
   
   Both `druid.processing.buffer.sizeBytes` and 
`druid.indexer.runner.maxZnodeBytes` have an upper size limit (2GiB) according 
to current implementation, but these limits are not stated in the doc. 
   
   So, this PR
   1.  improves the doc
   2. improves the exception message for invalid configurations so that user 
could resolve exceptions by themselves according to the more meaningful message
   
   <hr>
   
   This PR has:
   - [X] been self-reviewed.
   - [] added documentation for new or modified features or behaviors.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/licenses.yaml)
   - [ ] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [X] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [ ] added integration tests.
   - [ ] been tested in a test Druid cluster.
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not 
all of these items apply to every PR. Remove the items which are not done or 
not relevant to the PR. None of the items from the checklist above are strictly 
necessary, but it would be very helpful if you at least self-review the 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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to