Jackie-Jiang commented on PR #20313:
URL: https://github.com/apache/pinot/pull/20313#issuecomment-7116970547

   @yashmayya, thanks. Both are addressed in the latest push.
   
   **1. New broker with old servers.** Agreed, that loses rows a query returns 
today. The replicated leaf is now gated by a broker config, 
`pinot.broker.mse.enable.replicated.leaf.optional.segments`, which is off by 
default. When it is off, the leaf sends the new segments as regular segments, 
as it does today, so a new broker with old servers behaves as before. It can be 
turned on once every server runs 1.7.0, and a TODO marks it for removal after 
the 1.7.0 release. Unlike the proto segment list flag it is a static broker 
config, so changing it needs a broker restart.
   
   **2. Same version on all nodes.** With the config off, a server that has not 
loaded a new segment fails the query, as today. With it on, the partial join is 
possible, but it is now bounded: `selectOnAllInstances` checks the creation 
time against the clock, so after the new segment expiration time (5 minutes by 
default) the segment is required again, and a server that has not loaded it 
fails the query. The lineage swap is the same case: the replacing segments are 
optional only while a replica has not loaded them, and for at most that window.
   


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