KKcorps commented on PR #20320:
URL: https://github.com/apache/pinot/pull/20320#issuecomment-7033749993

   This comes from a model of upsert thread orders that StarTree runs on upsert 
PRs.
   
   **This fixes the order it targets, and the model found no new bad order with 
the change.**
   
   In the model, an `addSegment()` that throws between rows leaves the segment 
registered with part of its valid docs. Today's ONLINE retry keeps that copy, 
so a key whose row was never indexed is served stale or not at all, and a 
partial upsert consumer can merge with no base row. The search found that order 
40 times, and with the change each one reads correctly once the reload finishes.
   
   The model's known bad orders replay the same with and without the change, 
since none of them fail an add partway. An hour of search over 56 table shapes, 
six of them with a failed add and an operator reset, found nothing that breaks 
only with the change.
   
   The model has one replica and no ERROR state, so it stands in for the 
failure by stopping the add between rows. It does not reach the pauseless 
COMMITTING retry or a failure inside the reload's own replace.
   
   <!-- upsert-model-check head=1d6b9a9dbde0ef97ea87849319e91ed32b67f0b2 -->
   


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