jadami10 commented on issue #10460:
URL: https://github.com/apache/pinot/issues/10460#issuecomment-1484278505

   > To be exact, there is no timer that goes off in 3.3s. Whenever the next 
`segmentConsuming` call comes in, we check the time, and if it is more than 
3.2s then we just pick a winner amongst the replicas that indicated intent to 
complete the segment (instead of waiting for all replicas).
   
   That's true, but the server itself will only hold 3 seconds between commit 
attempts per 
https://github.com/apache/pinot/blob/989df641b7d29e18773a668663b0be894835d24f/pinot-common/src/main/java/org/apache/pinot/common/protocols/SegmentCompletionProtocol.java#L62.
 It seems to be timed such that the server will try at most 3 times before a 
winner is picked.


-- 
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-unsubscr...@pinot.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to