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

   Whenever schema is polled from the database, 
SegmentSchemaCache#temporaryPublishedMetadataQueryResults is reset. 
   However, it was being reset before 
SegmentSchemaCache#finalizedSegmentSchemaInfo is updated. 
   This led to a small window where schema is missing for a backfilled segment, 
which in turn led to another segment metadata query and subsequently the schema 
was backfilled again. 
   
   This change fixes this race by clearing only those segments from 
SegmentSchemaCache#temporaryPublishedMetadataQueryResults which is present in 
the polled segment set. 


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

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


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

Reply via email to