[opt](inverted index) default index format uses v3#57252
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
ClickBench: Total hot run time: 31.77 s |
yiguolei
approved these changes
Oct 23, 2025
morningman
added a commit
that referenced
this pull request
Jun 22, 2026
…eplica_compaction_with_format_v2 to V3 default (#64666) ## Proposed changes Fix two pre-existing branch-4.0 P0 regression-test failures (surfaced by an internal P0 build). Both are test-side issues, unrelated to product code. ### 1. `test_single_replica_compaction_with_format_v2` — failed 100% on master/4.1/4.0, passes on 3.0 `#57252` changed the FE default `inverted_index_storage_format` from `V2` to `V3`, but this test still created its table without pinning the property and asserted `check_nested_index_file(..., 2, 3, "V2")` with a hardcoded rowset count. Its sibling `*_format_v2` tests (`test_cumulative_compaction_with_format_v2`, `test_mow_table_with_format_v2`) were already migrated to a dynamic rowset count + `"V3"`; this one was missed. Fix: derive the post-compaction rowset count per tablet via `be_show_tablet_status` and assert `"V3"`, mirroring the sibling tests. ### 2. `test_curd_wlg` — flaky The `bypass_group` (`max_concurrency=0`) check expects `select count(1) from wlg_test_table` to be rejected with `query waiting queue is full`. That identical query is run repeatedly earlier in the suite, so it can be served from the FE SQL result cache, which returns before a Coordinator is built and never enters the query queue — so the rejection never fires and the assertion sees no exception (`but meet 'null'`). Fix: disable the SQL cache (`set enable_sql_cache=false`) around this assertion so the query actually executes and hits the queue, then restore it. ## Further comments Test-only changes. Cannot be verified locally (needs a deployed cluster with >= 2 BEs); please verify via CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#57140