GWphua commented on issue #19112:
URL: https://github.com/apache/druid/issues/19112#issuecomment-4028501731

   Hi @kfaraz 
   
   I have met an NPE bug while looking at the problem. Proposed fix is in 
#19118. 
   
   I have also tried setting the configs as you advised. However, I think 
something might be wrong with the metadata cache sync. For a cluster of 6000 
segments, this should not take a long time.
   
   ```
   2026-03-10T03:38:59,523 WARN [qtp1741034833-58] 
org.apache.druid.metadata.segment.SqlSegmentMetadataTransactionFactory - 
Starting read-write transaction for 
datasource[pingmesh.inter_idc_rtt_projected]. Reads will be done directly from 
metadata store since cache is not synced yet.
   2026-03-10T03:38:59,523 INFO [qtp1741034833-58] 
org.apache.druid.metadata.segment.cache.HeapMemorySegmentMetadataCache - 
Waiting for cache to finish sync with metadata store.
   2026-03-10T03:39:02,222 INFO [TaskQueue-Manager] 
org.apache.druid.indexing.overlord.TaskQueue - Notified task runner to clean up 
[0] tasks with IDs[[]].
   2026-03-10T03:39:02,230 INFO [TaskQueue-StorageSync] 
org.apache.druid.indexing.overlord.TaskQueue - Synced [0] tasks from storage (0 
tasks added, 0 tasks removable, 0 tasks removed).
   2026-03-10T03:39:02,323 INFO [TaskQueue-Manager] 
org.apache.druid.indexing.overlord.TaskQueue - Notified task runner to clean up 
[0] tasks with IDs[[]].
   2026-03-10T03:40:02,220 INFO [TaskQueue-StorageSync] 
org.apache.druid.indexing.overlord.TaskQueue - Synced [0] tasks from storage (0 
tasks added, 0 tasks removable, 0 tasks removed).
   2026-03-10T03:40:02,221 INFO [TaskQueue-Manager] 
org.apache.druid.indexing.overlord.TaskQueue - Notified task runner to clean up 
[0] tasks with IDs[[]].
   2026-03-10T03:41:00,024 WARN [qtp1741034833-72] 
org.apache.druid.metadata.segment.SqlSegmentMetadataTransactionFactory - 
Starting read-write transaction for 
datasource[pingmesh.inter_idc_rtt_projected]. Reads will be done directly from 
metadata store since cache is not synced yet.
   2026-03-10T03:41:00,024 INFO [qtp1741034833-72] 
org.apache.druid.metadata.segment.cache.HeapMemorySegmentMetadataCache - 
Waiting for cache to finish sync with metadata store.
   ... // 7 minutes of related logs
   2026-03-10T03:48:59,523 INFO [qtp1741034833-58] 
org.apache.druid.metadata.segment.cache.HeapMemorySegmentMetadataCache - Wait 
complete. Cache is now in state[LEADER_FIRST_SYNC_PENDING].
   2026-03-10T03:48:59,524 INFO [qtp1741034833-58] 
org.apache.druid.metadata.segment.cache.HeapMemorySegmentMetadataCache - 
Waiting for cache to finish sync with metadata store.
   ```
   


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