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
{{ message }}
Repository navigation
[Bug]: TestConvertRowsIntoBatchTemporalText races with Go timers when writing time.Local #32893
Observed on feat/index-stats-readonly in #32698. The same test is present on main since #32456.
Commit ID
91836f3830261dcad705f8e9e0231f2170f13dba
Other Environment Information
GitHub Actions, Ubuntu x86-64, Go 1.27.1, race detector enabled.
Actual Behavior
TestConvertRowsIntoBatchTemporalText temporarily assigns a fixed zone to the process-wide time.Local. During the frontend package tests, a background timer called time.Now() and read the same variable concurrently. The race detector failed the test. Failing CI job · Test source on the PR base
The test should still catch regressions where timestamp conversion uses the process timezone instead of the session timezone, and should pass under the race detector.
Steps to Reproduce
Run the same unit-test target used by the failing CI job in a clean checkout with the CI prerequisites installed.
make config
make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all
The failure is intermittent. It requires a timer read to overlap the test's write to time.Local.
Activity
fix: preserve TAE snapshot row IDs and stabilize main CI (#32957)
Add tenant-scoped changed-table lists and source snapshot checks (#32904
fix(frontend): prevent publication grants from recreating dropped sub…