apurtell opened a new pull request, #2746: URL: https://github.com/apache/phoenix/pull/2746
The tests that merge view index sequences sometimes fail because a sequence is not found. Which test fails changes from run to run. The tests race their own writes at millisecond resolution. A sequence read sees only cells written before the read timestamp. The test creates the legacy sequences at the current time, and the merge also creates its new sequence at the current time. When a create and the next increment fall in the same millisecond, the increment fails. This change is test-only. The test now creates the legacy sequences one millisecond in the past. The increment after the merge reads at the latest timestamp, as NEXT VALUE FOR does without an SCN. The expected values do not change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
