kfaraz opened a new pull request, #13391:
URL: https://github.com/apache/druid/pull/13391

   ### Description
   
   The batch segment sampling added in #11257 performs significantly better 
than the older method of sampling if there are a large number of used segments. 
It also avoid duplicate results in sampling.
   
   ### Changes
   
   - Make batch segment sampling the default
   - Deprecate the property `useBatchedSegmentSampler`
   - Remove unused coordinator config `druid.coordinator.loadqueue.repeatDelay`
   - Cleanup `KillUnusedSegments`
   - Simplify `KillUnusedSegmentsTest`, add better tests, remove redundant tests
   
   ### Release note
   
   Make batch sampling the default method for sampling segments during 
balancing as it performs significantly better than the alternative when there 
is a large number of used segments in the cluster. 
   
   The following have been deprecated and will be removed in future releases:
   - coordinator dynamic config `useBatchedSegmentSampler`
   - coordinator dynamic config `percentOfSegmentsToConsiderPerMove`
   - non-batch method of sampling segments used during coordinator duty 
`BalanceSegments`
   
   <hr>
   
   This PR has:
   
   - [ ] been self-reviewed.
      - [ ] using the [concurrency 
checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md)
 (Remove this item if the PR doesn't have any relation to concurrency.)
   - [ ] added documentation for new or modified features or behaviors.
   - [x] a release note entry in the PR description.
   - [x] 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/dev/license.md)
   - [x] 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.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to