You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "kfaraz (via GitHub)" <gi...@apache.org> on 2026/07/01 12:33:36 UTC

Re: [PR] perf: allow follower coordinators to pre-fill segment cache for faster leadership assumption via delta sync (druid)

kfaraz commented on PR #19644:
URL: https://github.com/apache/druid/pull/19644#issuecomment-4854848586

   > My proposed solution is allow follower Coordinator replicas to also fill their cache and rely on a delta sync upon becoming the leader. The delta sync is a much cheaper operation and allows the Coordinator to come up faster with a healthy cache. While this faster recovery/higher availability is at the expense of higher DB load, this is particularly useful for situations like rolling deployments where you may only have > 1 coordinators running for a short period (then back to 1).
   
   @jtuglu1 , this is already the case. Follower coordinator/overlords already perform delta syncs in the background.
   Only the first sync (that happens upon startup) is a full sync for both Leader and Follower.
   This can be verified from logs as well as cache metrics.
   
   Please let me know if you have noticed otherwise.


-- 
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: commits-unsubscribe@druid.apache.org

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


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