Skip to content

[Trino] Temporarily isolate test table paths to unblock CI - #5196

Merged
wuchong merged 1 commit into
apache:mainfrom
yangshangqing95:trino/testing/avoid-same-path-fail
Nov 13, 2026
Merged

wuchong merged 1 commit into
apache:mainfrom
yangshangqing95:trino/testing/avoid-same-path-fail

Conversation

@yangshangqing95

Copy link
Copy Markdown
Contributor

Purpose

Temporarily mitigate the intermittent Trino Connector CI failures reported in #5138 #5193

The failures appear to be related to the metadata race described in #4741, where delayed deletion notifications may affect a newly created table with the same path.

The root cause and permanent fix are being tracked separately in #4741. That fix is still under development and testing, as it may involve RPC protocol changes.

This PR is intended only to unblock CI while that work continues.

Brief change log

  • Use unique table paths per test in FlussSplitManagerTest, FlussPageSourceTest, and FlussLogSplitReaderTest to avoid cross-test interference from delayed deletion notifications.
  • Replace the real drop and recreate sequence in FlussSplitManagerTest with a simulated table ID change, preserving the connector's identity validation without triggering the server side race.

This is a temporary workaround, not a server side fix.

Once #4741 is resolved, we should revert the unique table naming workaround to restore the consistent naming convention across tests, and add dedicated regression tests to protect against similar metadata races.

Tests

  • FlussSplitManagerTest
  • FlussPageSourceTest
  • FlussLogSplitReaderTest

API and Format

N/A

Documentation

N/A

@wuchong wuchong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wuchong
wuchong merged commit 0a71957 into apache:main Nov 13, 2026
7 checks passed
@yangshangqing95

Copy link
Copy Markdown
Contributor Author

@wuchong thanks, the deletion race has been verified in #5197 and am working on a proper fix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test] FlussSplitManagerTest intermittently fails waiting for tablet server table metadata

2 participants