mrhhsg opened a new pull request, #66267:
URL: https://github.com/apache/doris/pull/66267

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Problem Summary: `information_schema.rowsets` is a distributed BE snapshot 
and can briefly return an incomplete result immediately after table creation. 
The regression test queried it only once, so the initial `[0, 1]` rowset 
assertion could fail intermittently even though table creation had completed 
successfully.
   
   ### What is changed?
   
   - Poll for up to 30 seconds until the system table observes the 
synchronously created `[0, 1]` rowset.
   - Keep the existing golden query after the wait, so the expected result is 
not weakened.
   - Log the tablet metadata and the observed BE rowset metadata to make any 
timeout diagnosable.
   - Keep the later post-insert assertions synchronous so genuine 
publish-visibility regressions are still detected.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test:
       - Regression test: `test_query_sys_rowsets` passed 50/50 consecutive 
runs on an isolated local cluster using the existing branch-4.1 FE/BE binaries.
       - Groovy compilation: `FileSystemCompiler 
regression-test/suites/query_p0/system/test_query_sys_rowsets.groovy` passed.
       - Static check: `git diff --check` passed.
   - Behavior changed: No
   - Does this need documentation: No
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to