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: Fix PR #20962 open Subject:IngestionSmokeTest.test_runIndexTask_andKillData in KubernetesClusterDockerTest (embedded-tests, docker-tests / Run Docker tests) Failures: 1 · First seen: 2026-11-13 · Last seen: 2026-11-13
Root cause
After marking the 10 segments unused, the test calls waitForNextBrokerCacheSync() and then expects sys.segments to be empty (IngestionSmokeTest.java:248), but sys.segments still listed all 10 segments as published and active (is_published=1, is_available=0). KubernetesClusterDockerTest runs two Brokers: the K3s Broker polls Coordinator segment metadata every 1 s and the in-JVM EmbeddedBroker (added for its client bindings) every 100 ms (druid.sql.planner.metadataSegmentPollPeriod). Both emit segment/metadataCache/sync/time as druid/broker, so the wait can be satisfied by one Broker while the SQL query is answered from the other's stale MetadataSegmentView. #20806 only changes deep-storage pushers and killers, which this check runs before; the same job passed on the neighbouring master commits a48de36 and 2b71ffb. This differs from #20431, which was a missed segment/schemaCache/dataSource/removed metric in IngestionDockerTest.
Suggested fix
Make waitForNextBrokerCacheSync() wait for a sync event that started after the wait from every Broker (matched by host), so whichever Broker answers the sys.segments query has already dropped the unused segments. Fix PR: #20962 (open) does this.
Occurrences
Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.
Activity