druid/docs
Sashidhar Thallam 51a7235ebc Making optimal usage of multiple segment cache locations (#8038)
* #7641 - Changing segment distribution algorithm to distribute segments to multiple segment cache locations

* Fixing indentation

* WIP

* Adding interface for location strategy selection, least bytes used strategy impl, round-robin strategy impl, locationSelectorStrategy config with least bytes used strategy as the default strategy

* fixing code style

* Fixing test

* Adding a method visible only for testing, fixing tests

* 1. Changing the method contract to return an iterator of locations instead of a single best location. 2. Check style fixes

* fixing the conditional statement

* Added testSegmentDistributionUsingLeastBytesUsedStrategy, fixed testSegmentDistributionUsingRoundRobinStrategy

* to trigger CI build

* Add documentation for the selection strategy configuration

* to re trigger CI build

* updated docs as per review comments, made LeastBytesUsedStorageLocationSelectorStrategy.getLocations a synchronzied method, other minor fixes

* In checkLocationConfigForNull method, using getLocations() to check for null instead of directly referring to the locations variable so that tests overriding getLocations() method do not fail

* Implementing review comments. Added tests for StorageLocationSelectorStrategy

* Checkstyle fixes

* Adding java doc comments for StorageLocationSelectorStrategy interface

* checkstyle

* empty commit to retrigger build

* Empty commit

* Adding suppressions for words leastBytesUsed and roundRobin of ../docs/configuration/index.md file

* Impl review comments including updating docs as suggested

* Removing checkLocationConfigForNull(), @NotEmpty annotation serves the purpose

* Round robin iterator to keep track of the no. of iterations, impl review comments, added tests for round robin strategy

* Fixing the round robin iterator

* Removed numLocationsToTry, updated java docs

* changing property attribute value from tier to type

* Fixing assert messages
2019-09-28 00:17:44 -06:00
..
_bin autogenerate NOTICE.BINARY from NOTICE and licenses.yaml (#8306) 2019-08-21 12:46:27 -07:00
assets Update Kafka loading docs to use the streaming data loader (#8544) 2019-09-22 15:00:52 -07:00
comparisons Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
configuration Making optimal usage of multiple segment cache locations (#8038) 2019-09-28 00:17:44 -06:00
dependencies Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
design Add TrustedDomain Authenticator (#8248) 2019-09-25 11:25:03 -07:00
development Update Kafka loading docs to use the streaming data loader (#8544) 2019-09-22 15:00:52 -07:00
ingestion Added live reports for Kafka and Native batch task (#8557) 2019-09-23 21:08:36 -07:00
misc Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
operations fix docs version interpolation (#8568) 2019-09-22 17:38:55 -07:00
querying doubleMean aggregator to be used at query time (#8459) 2019-09-26 08:04:33 -07:00
tutorials fix docs version interpolation (#8568) 2019-09-22 17:38:55 -07:00