ilamhs opened a new pull request, #20312:
URL: https://github.com/apache/pinot/pull/20312

   The minion reads its data directory only from the generic, un-prefixed 
`dataDir` key. Other minion settings use `pinot.minion.*` keys, such as 
`pinot.minion.instance.id`, and the server uses 
`pinot.server.instance.dataDir`. For consistency, the minion data directory 
should also have a prefixed key, with the un-prefixed form deprecated.
   
   ## Changes
   
   - Add `CommonConstants.Minion.CONFIG_OF_MINION_DATA_DIR = 
"pinot.minion.instance.dataDir"`, next to `CONFIG_OF_MINION_ID = 
"pinot.minion.instance.id"`.
   - Add `MinionConf.getDataDir()`. It reads `pinot.minion.instance.dataDir`, 
then the legacy `dataDir`, then the existing default. `BaseMinionStarter` uses 
it.
   - Deprecate `CommonConstants.Helix.Instance.DATA_DIR_KEY`.
   - `ClusterTest` sets the new key.
   
   This follows https://github.com/apache/pinot/pull/9308, which did the same 
for the minion instance id (`pinot.minion.instance.id` with a fallback to the 
deprecated `instanceId`). The un-prefixed key was introduced in 
https://github.com/apache/pinot/pull/1536.
   
   ## Compatibility
   
   Existing configs with `dataDir=` behave as before, including the Helm 
chart's minion configmap. If both keys are set, `pinot.minion.instance.dataDir` 
wins.
   
   ## Labels
   - `release-notes`


-- 
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