suvodeep-pyne opened a new pull request, #17159:
URL: https://github.com/apache/pinot/pull/17159

   ## Description
   
   Adds dynamic cluster configuration support to `ServerReloadJobStatusCache`, 
enabling runtime configuration updates via ZooKeeper without server restarts.
   
   ## Changes
   
   **ServerReloadJobStatusCache**
   - Implements `PinotClusterConfigChangeListener` for ZooKeeper config change 
notifications
   - Rebuilds cache on config changes while preserving existing entries
   - Skips rebuild when no relevant configs changed (optimization)
   
   **ServerReloadJobStatusCacheConfig**
   - Added Jackson annotations for automatic deserialization from cluster config
   - Config keys: `pinot.server.table.reload.status.cache.max.size` and 
`pinot.server.table.reload.status.cache.ttl.days`
   
   **BaseServerStarter**
   - Registers cache as cluster config listener on startup
   
   **Testing**
   - Added comprehensive test suite (14 test cases covering config changes, 
rebuild, migration, concurrency)
   - Added AssertJ test dependency to pinot-segment-local
   
   ## Configuration
   
   Dynamic properties (defaults shown):
   - `pinot.server.table.reload.status.cache.max.size` = 10000
   - `pinot.server.table.reload.status.cache.ttl.days` = 30
   
   Updates apply immediately without server restart. Existing cache entries are 
migrated during rebuild.


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