liaoxin01 opened a new pull request, #69846:
URL: https://github.com/apache/doris/pull/69846
### What problem does this PR solve?
Issue Number: None
Related PR: #68449
Problem Summary:
`test_clean_tablet_when_drop_force_table` fails intermittently with `File
cache directories were not cleaned before timeout`. The leftover cache dirs all
belong to the version 3 rowsets.
#68449 set `disable_auto_compaction=true` for this case. Before that change,
cloud compaction called `sync_rowsets()` and loaded version 3 into the BE
tablets as a side effect. Now nothing loads version 3 between the second stream
load and `DROP TABLE FORCE`, because the case only queries after the version 2
load. The cloud `drop_tablet_callback` only recycles the file cache of rowsets
in `get_snapshot_rowset(true)`, so the version 3 cache stays and the cleanup
assertion times out.
This PR queries the table after the version 3 load, the same way the case
already does after version 2. The query loads version 3 on every BE before
DROP. It also asserts the row count (160000) to confirm version 3 is visible.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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]