Skip to content

Flaky test: CompactionTaskTest.testCompactionWithTimestampDimension #20430

Description

@FrankChen021

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 #20320
Subject: CompactionTaskTest.testCompactionWithTimestampDimension (embedded-tests, unit tests (25, C*))
Failures: 1 · First seen: 2026-09-10 · Last seen: 2026-09-10

Root cause

CompactionTestBase.verifySegmentsCount waits for a single Broker segment/metadataCache/sync/time event and then asserts against sys.segments once. The Overlord already reported 2 segments, but the Broker query returned nothing because the observed sync predates the compaction result.

Suggested fix

#20320 (merged 2026-09-30) polls sys.segments in verifyNumVisibleSegmentsIs until it matches, with a bounded timeout.

Occurrences

Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.

Date Commit Job Failure log Detail Reported in
2026-09-10 5e71056 (#20268) unit tests (25, C*) job 102764139085 Broker sys.segments count query returned an empty result #20312

Activity

  1. FrankChen021 commented on Oct 8, 2026

    @FrankChen021
    MemberAuthor

    Resolved by #20320; no failures on master since 2026-09-30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions