You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was generated automatically by Claude Code (Anthropic's AI coding agent) running a scheduled CI-triage routine on behalf of @FrankChen021. Analysis and suggested fixes are AI-produced; please verify before acting on them.
Status: Resolved by #20608 Subject:AutoCompactionTest.testAutoCompactionPreservesCreateBitmapIndexInDimensionSchema (embedded-tests, unit tests / unit tests(main) (25, M*,A*,V*,W*) / test-jdk25-[M*,A*,V*,W*]) Failures: 1 · First seen: 2026-10-26 · Last seen: 2026-10-26
Root cause
The test fails in its very first step: after the initial index task succeeds, CompactionTestBase.runTask calls EmbeddedClusterApis.waitForAllSegmentsToBeAvailable, which waits for the Broker's segment/schemaCache/refresh/count for the datasource to reach the number of used segments (4); that sum was not reached within the 300 s latchable-emitter timeout. The likely cause is the lost wakeup in SegmentLoadDropHandler.processBatch() described in #20608: if a load finishes between its status being read as PENDING and the batch future being registered, the cluster's only Historical stops loading until druid.coordinator.loadqueuepeon.http.hostTimeout (5 minutes) expires, which is exactly this test's wait. The failing commit (#20728) only touches HistoricalCloningTest, and the same test passed on the previous master commit (434de02).
Suggested fix
#20608 (merged 2026-10-31) re-checks request statuses under the waitingFutures lock before registering the batch future (it targets the same stall in KafkaClusterMetricsTest, #20603). If the test still times out after that, make waitForAllSegmentsToBeAvailable first wait for the Coordinator to report the segments loaded, so the failure shows whether the Historical or the Broker stalled.
Occurrences
Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.
[1] (first compaction engine): ISE: Timed out waiting for event after [300,000]ms in waitForAllSegmentsToBeAvailable (AutoCompactionTest.java:510 → CompactionTestBase.runTask:79); 1 attempt, no rerun; likely the SegmentLoadDropHandler lost wakeup (#20608)
Activity
FrankChen021 commentedon Nov 7, 2026
Resolved by #20608; no failures on master since 2026-10-31.