gianm opened a new pull request, #14539:
URL: https://github.com/apache/druid/pull/14539

   Most of the time, when handoff is taking this long, it's because something 
is preventing Historicals from loading new data. In this case, we have two 
choices:
   
   1) Stop making progress on ingestion, wait for Historicals to load stuff,
      and keep the waiting-for-handoff segments available on realtime tasks.
      (handoffConditionTimeout = 0, the current default)
   
   2) Continue making progress on ingestion, by exiting the realtime tasks
      that were waiting for handoff. Once the Historicals get their act
      together, the segments will be loaded, as they are still there on
      deep storage. They will just not be continuously available.
      (handoffConditionTimeout > 0)
   
   I believe most users would prefer [2], because [1] risks ingestion falling 
behind the stream, which causes many other problems. It can cause data loss if 
the stream ages-out data before we have a chance to ingest it.
   
   Due to the way tuningConfigs are serialized -- defaults are baked into the 
serialized form that is written to the database -- this default change will not 
change anyone's existing supervisors. It will take effect for newly created 
supervisors.


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