Skip to content

Conversation

@mymeiyi
Copy link
Contributor

@mymeiyi mymeiyi commented Feb 3, 2026

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • 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
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@mymeiyi mymeiyi changed the title [improve](fe) reduce fe call get_version to meta_service [improve](cloud) reduce fe call get_version to meta_service Feb 3, 2026
@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from a0061e3 to 94cf726 Compare February 3, 2026 07:56
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 3, 2026

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 31944 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 94cf726ffb2d2c818fc752411ffbdde233a25311, data reload: false

------ Round 1 ----------------------------------
q1	17693	5332	5128	5128
q2	2054	312	196	196
q3	10575	1338	790	790
q4	10345	840	321	321
q5	9570	2218	1925	1925
q6	234	183	148	148
q7	909	739	599	599
q8	9264	1484	1133	1133
q9	5507	4810	4957	4810
q10	6865	1964	1571	1571
q11	498	301	284	284
q12	398	376	230	230
q13	17800	4054	3215	3215
q14	235	243	213	213
q15	916	832	823	823
q16	672	675	617	617
q17	1032	869	417	417
q18	7513	6521	6468	6468
q19	1137	1007	606	606
q20	396	346	237	237
q21	2690	2052	1935	1935
q22	357	320	278	278
Total cold run time: 106660 ms
Total hot run time: 31944 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5440	5302	5356	5302
q2	267	331	257	257
q3	2147	2720	2237	2237
q4	1343	1732	1323	1323
q5	4263	4193	4966	4193
q6	255	209	165	165
q7	2205	2101	1816	1816
q8	2554	2428	2405	2405
q9	7333	7503	7506	7503
q10	2822	3004	2637	2637
q11	564	501	462	462
q12	732	769	607	607
q13	4014	4282	3655	3655
q14	309	338	323	323
q15	898	809	796	796
q16	684	731	660	660
q17	1159	1254	1267	1254
q18	7986	7951	7755	7755
q19	1049	852	832	832
q20	2064	2181	2026	2026
q21	4511	4222	4038	4038
q22	561	556	499	499
Total cold run time: 53160 ms
Total hot run time: 50745 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 27.7 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 94cf726ffb2d2c818fc752411ffbdde233a25311, data reload: false

query1	0.06	0.05	0.05
query2	0.13	0.07	0.07
query3	0.31	0.07	0.08
query4	1.60	0.09	0.09
query5	0.27	0.25	0.25
query6	1.13	0.64	0.64
query7	0.03	0.03	0.02
query8	0.07	0.05	0.06
query9	0.58	0.50	0.50
query10	0.55	0.54	0.56
query11	0.26	0.12	0.13
query12	0.26	0.14	0.14
query13	0.62	0.62	0.60
query14	0.98	0.96	0.96
query15	0.90	0.82	0.82
query16	0.39	0.39	0.42
query17	0.99	0.98	1.04
query18	0.24	0.22	0.22
query19	1.82	1.86	1.77
query20	0.02	0.01	0.02
query21	15.38	0.27	0.24
query22	4.97	0.09	0.10
query23	15.39	0.42	0.23
query24	2.26	0.50	0.31
query25	0.10	0.10	0.10
query26	0.19	0.17	0.18
query27	0.10	0.09	0.10
query28	3.45	1.12	0.95
query29	12.50	4.00	3.22
query30	0.32	0.12	0.11
query31	2.79	0.69	0.43
query32	3.23	0.62	0.50
query33	2.97	3.00	3.09
query34	16.34	5.00	4.48
query35	4.46	4.46	4.51
query36	0.61	0.50	0.49
query37	0.26	0.09	0.09
query38	0.22	0.05	0.05
query39	0.07	0.05	0.05
query40	0.22	0.17	0.17
query41	0.13	0.06	0.06
query42	0.08	0.05	0.05
query43	0.09	0.07	0.07
Total cold run time: 97.34 s
Total hot run time: 27.7 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.62% (19385/36839)
Line Coverage 36.07% (180020/499083)
Region Coverage 32.43% (139546/430334)
Branch Coverage 33.43% (60441/180787)

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from 94cf726 to a2edeef Compare February 3, 2026 12:25
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 3, 2026

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 33492 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit a2edeef22e5fd9363193d6ae484c788e24048b0f, data reload: false

------ Round 1 ----------------------------------
q1	17657	5379	5162	5162
q2	2019	334	195	195
q3	10511	1318	756	756
q4	10322	824	329	329
q5	9368	2244	1938	1938
q6	219	185	153	153
q7	951	772	602	602
q8	9276	1444	1191	1191
q9	5337	4893	4964	4893
q10	6881	1973	1568	1568
q11	534	305	283	283
q12	402	394	236	236
q13	17818	4128	3271	3271
q14	230	246	217	217
q15	898	824	828	824
q16	678	685	630	630
q17	645	829	503	503
q18	6915	7228	7262	7228
q19	1424	1030	762	762
q20	425	374	246	246
q21	3188	2372	2220	2220
q22	397	343	285	285
Total cold run time: 106095 ms
Total hot run time: 33492 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5689	5515	5682	5515
q2	264	381	262	262
q3	2473	2924	2391	2391
q4	1612	1892	1361	1361
q5	4825	4593	4705	4593
q6	230	186	142	142
q7	2051	1992	1774	1774
q8	2550	2586	2444	2444
q9	7438	7399	7528	7399
q10	2843	3111	2632	2632
q11	560	470	445	445
q12	643	664	570	570
q13	3634	4069	3200	3200
q14	270	281	262	262
q15	852	808	787	787
q16	635	694	639	639
q17	1098	1222	1295	1222
q18	7489	7355	7226	7226
q19	908	851	837	837
q20	1968	2044	1907	1907
q21	4656	4308	4190	4190
q22	593	522	506	506
Total cold run time: 53281 ms
Total hot run time: 50304 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.08 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit a2edeef22e5fd9363193d6ae484c788e24048b0f, data reload: false

query1	0.06	0.04	0.04
query2	0.14	0.07	0.06
query3	0.34	0.08	0.07
query4	1.60	0.11	0.10
query5	0.25	0.25	0.24
query6	1.15	0.67	0.65
query7	0.03	0.03	0.02
query8	0.08	0.06	0.07
query9	0.60	0.51	0.50
query10	0.56	0.55	0.55
query11	0.26	0.14	0.14
query12	0.26	0.14	0.14
query13	0.63	0.63	0.61
query14	0.99	0.97	0.98
query15	0.90	0.84	0.83
query16	0.40	0.39	0.38
query17	1.03	1.04	1.03
query18	0.25	0.23	0.23
query19	1.95	1.79	1.80
query20	0.03	0.02	0.02
query21	15.40	0.29	0.24
query22	4.93	0.10	0.10
query23	15.39	0.40	0.23
query24	2.31	0.50	0.32
query25	0.11	0.10	0.10
query26	0.19	0.18	0.17
query27	0.09	0.09	0.10
query28	3.45	1.13	0.97
query29	12.53	3.97	3.20
query30	0.33	0.13	0.11
query31	2.79	0.68	0.45
query32	3.24	0.62	0.50
query33	3.08	3.04	3.06
query34	16.34	5.05	4.53
query35	4.49	4.59	4.58
query36	0.62	0.52	0.48
query37	0.25	0.09	0.09
query38	0.23	0.06	0.06
query39	0.08	0.06	0.05
query40	0.20	0.18	0.17
query41	0.14	0.06	0.07
query42	0.08	0.05	0.05
query43	0.08	0.07	0.06
Total cold run time: 97.86 s
Total hot run time: 28.08 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.58% (19372/36840)
Line Coverage 36.04% (179903/499133)
Region Coverage 32.38% (139383/430397)
Branch Coverage 33.41% (60401/180813)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.67% (25874/36104)
Line Coverage 54.29% (270307/497935)
Region Coverage 51.75% (224993/434811)
Branch Coverage 53.17% (96534/181541)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 65.18% (249/382) 🎉
Increment coverage report
Complete coverage report

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from a2edeef to 5fda285 Compare February 4, 2026 03:07
Copilot AI review requested due to automatic review settings February 4, 2026 03:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances cloud-mode version management by caching and propagating table/partition visible versions within FE, reducing direct get_version RPCs to the meta-service. It also extends meta-service protocols to return table-level version information and wires FE components to maintain and synchronize these versions across frontends.

Changes:

  • Extends Thrift/Proto APIs to carry table and partition version information (including new FE RPC updateCloudVersion and additional fields in CommitTxnResponse, IndexResponse, and PartitionResponse).
  • Introduces FE-side tools (CloudUpdateVersionTool, CloudTableAndPartitionVersionChecker) and related wiring to cache, update, and synchronize table/partition versions in cloud deployments, including changes in OlapTable, CloudPartition, and transaction/catalog paths.
  • Updates meta-service transaction and partition/index commit flows to compute, persist, and return table versions, with corresponding unit tests validating the new behavior.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
gensrc/thrift/FrontendService.thrift Adds cloud version-related structs and the updateCloudVersion RPC for FE-to-FE version propagation; note the new API surface.
gensrc/proto/cloud.proto Extends CommitTxnResponse, IndexResponse, and PartitionResponse to include table and partition version metadata used by FE caches.
fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java Implements updateCloudVersion handler to delegate version updates to CloudUpdateVersionTool on non-master FEs.
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java Changes default table/partition version cache TTLs to Long.MAX_VALUE to favor long-lived caches in cloud mode.
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java Extends afterCreatePartitions signature and call sites to pass OlapTable so cloud code can update and propagate table versions after partition operations.
fe/fe-core/src/main/java/org/apache/doris/common/proc/PartitionsProcDir.java Refactors partition version retrieval to use a helper that, in cloud mode, fetches snapshot partition versions (and logs RPC issues) instead of reading directly from in-memory state.
fe/fe-core/src/main/java/org/apache/doris/common/ClientPool.java Adds a dedicated frontendVersionPool for version-sync RPCs, separate from heartbeat and general FE pools.
fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java Refactors post-commit handling to compute and cache table/partition versions, then propagate them to followers via CloudUpdateVersionTool.
fe/fe-core/src/main/java/org/apache/doris/cloud/datasource/CloudInternalCatalog.java Makes partition/index commit methods return table versions and uses them to update local caches and notify other FEs after create/alter/drop operations.
fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudUpdateVersionTool.java New utility coordinating async version propagation from master to other FEs, including building Thrift requests and using the new frontendVersionPool.
fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudTableAndPartitionVersionChecker.java New daemon that periodically checks table versions vs. meta-service and refreshes partition versions where the table has advanced.
fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudPartition.java Enhances cloud partitions with helper methods to resolve owning tables and adds table-level version locking around cached partition version reads.
fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudEnv.java Wires in the new checker and update tool and starts the checker in master-only daemon threads.
fe/fe-core/src/main/java/org/apache/doris/clone/DynamicPartitionScheduler.java Passes OlapTable into afterCreatePartitions so cloud catalog can update and sync table versions after dynamic partition creation.
fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java Adds table-version cache helpers and a ReadWriteLock used to coordinate consistent updates of table and partition versions in cloud mode.
fe/fe-common/src/main/java/org/apache/doris/common/Config.java Introduces tunables for cloud version checking intervals, get/update version thread counts, and batch size.
cloud/test/txn_lazy_commit_test.cpp Extends lazy-commit tests to assert correctness of returned table versions and their consistency with get_version.
cloud/test/meta_service_versioned_read_test.cpp Adds tests validating table version values in CommitTxn, commit_index, and commit_partition responses under versioned read/write.
cloud/test/meta_service_test.cpp Expands meta-service tests to cover table version increments and to verify table_versions fields in responses and KV state.
cloud/src/meta-service/meta_service_txn.cpp Updates commit paths to enable versionstamps when needed and to populate per-table version information using either stored table versions or KV transaction versionstamps.
cloud/src/meta-service/meta_service_partition.cpp Extends index/partition commit/drop flows to optionally enable versionstamps and to return updated table versions in the protobuf responses.
cloud/src/meta-service/meta_service.h Adjusts commit_partition_internal signature to accept a PartitionResponse* so that it can populate table versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from 5fda285 to 46584f1 Compare February 4, 2026 03:34
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 4, 2026

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 54.55% (144/264) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 79.29% (1792/2260)
Line Coverage 64.72% (31981/49418)
Region Coverage 65.53% (15987/24397)
Branch Coverage 56.14% (8516/15168)

@doris-robot
Copy link

TPC-H: Total hot run time: 31921 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 46584f1551cd2f22860dbcd94c27cd1250fb1077, data reload: false

------ Round 1 ----------------------------------
q1	17637	5265	5158	5158
q2	2026	312	191	191
q3	10728	1341	773	773
q4	10329	825	308	308
q5	9623	2199	1913	1913
q6	245	189	155	155
q7	906	759	610	610
q8	9266	1401	1082	1082
q9	5431	4870	4833	4833
q10	6884	1947	1584	1584
q11	536	299	286	286
q12	388	368	227	227
q13	17801	4039	3249	3249
q14	232	235	224	224
q15	918	842	816	816
q16	700	667	628	628
q17	629	762	535	535
q18	7019	6521	6294	6294
q19	1117	1028	601	601
q20	389	344	240	240
q21	2624	2035	1934	1934
q22	355	311	280	280
Total cold run time: 105783 ms
Total hot run time: 31921 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5371	5258	5300	5258
q2	258	335	262	262
q3	2190	2720	2241	2241
q4	1339	1729	1293	1293
q5	4277	4203	4811	4203
q6	238	210	163	163
q7	2166	1927	1800	1800
q8	2574	2479	2370	2370
q9	7616	7486	7561	7486
q10	2860	3191	2581	2581
q11	556	477	455	455
q12	669	777	616	616
q13	3931	4302	3585	3585
q14	327	323	301	301
q15	878	815	889	815
q16	874	719	667	667
q17	1178	1320	1385	1320
q18	8331	8152	7639	7639
q19	877	828	861	828
q20	2244	2134	2028	2028
q21	4748	4288	4112	4112
q22	572	560	518	518
Total cold run time: 54074 ms
Total hot run time: 50541 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 27.74 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 46584f1551cd2f22860dbcd94c27cd1250fb1077, data reload: false

query1	0.06	0.06	0.05
query2	0.14	0.07	0.06
query3	0.31	0.08	0.07
query4	1.60	0.10	0.10
query5	0.27	0.25	0.24
query6	1.14	0.65	0.64
query7	0.04	0.03	0.03
query8	0.07	0.06	0.06
query9	0.59	0.50	0.49
query10	0.55	0.55	0.55
query11	0.26	0.13	0.13
query12	0.26	0.13	0.14
query13	0.62	0.62	0.60
query14	0.98	0.97	0.97
query15	0.91	0.83	0.82
query16	0.38	0.39	0.39
query17	1.01	1.04	1.04
query18	0.23	0.22	0.23
query19	1.94	1.78	1.80
query20	0.02	0.01	0.04
query21	15.40	0.27	0.23
query22	4.98	0.11	0.09
query23	15.36	0.40	0.22
query24	2.29	0.48	0.32
query25	0.10	0.09	0.10
query26	0.18	0.17	0.18
query27	0.11	0.10	0.09
query28	3.46	1.12	0.97
query29	12.50	4.04	3.25
query30	0.32	0.13	0.11
query31	2.80	0.67	0.43
query32	3.24	0.62	0.49
query33	3.09	3.11	3.02
query34	15.99	5.08	4.42
query35	4.49	4.52	4.42
query36	0.63	0.49	0.49
query37	0.25	0.09	0.08
query38	0.20	0.06	0.06
query39	0.08	0.05	0.05
query40	0.21	0.19	0.18
query41	0.13	0.06	0.07
query42	0.08	0.05	0.05
query43	0.08	0.07	0.07
Total cold run time: 97.35 s
Total hot run time: 27.74 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.59% (19373/36840)
Line Coverage 36.06% (179967/499133)
Region Coverage 32.43% (139559/430397)
Branch Coverage 33.42% (60422/180813)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.37% (26488/36104)
Line Coverage 56.48% (281250/497935)
Region Coverage 54.31% (236143/434811)
Branch Coverage 55.92% (101520/181541)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 69.03% (263/381) 🎉
Increment coverage report
Complete coverage report

@mymeiyi mymeiyi requested a review from Copilot February 4, 2026 09:09
@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from 16d67b1 to 2eef113 Compare February 5, 2026 11:25
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 5, 2026

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 54.55% (144/264) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 79.29% (1792/2260)
Line Coverage 64.70% (31972/49418)
Region Coverage 65.51% (15983/24397)
Branch Coverage 56.08% (8506/15168)

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 9.09% (38/418) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

TPC-H: Total hot run time: 31217 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 2eef113b0f72570dbbd68e1fc602634b01f5b5b9, data reload: false

------ Round 1 ----------------------------------
q1	17639	4614	4334	4334
q2	2045	397	237	237
q3	10101	1376	731	731
q4	10204	848	317	317
q5	7525	2140	2001	2001
q6	198	183	147	147
q7	897	725	580	580
q8	9298	1375	1110	1110
q9	5163	4847	4837	4837
q10	6787	1974	1554	1554
q11	516	287	277	277
q12	338	386	224	224
q13	17774	4101	3215	3215
q14	239	241	225	225
q15	901	821	812	812
q16	708	667	618	618
q17	651	837	462	462
q18	7312	6441	6529	6441
q19	1097	991	628	628
q20	382	356	251	251
q21	2635	2037	1941	1941
q22	356	312	275	275
Total cold run time: 102766 ms
Total hot run time: 31217 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4397	4356	4359	4356
q2	269	339	267	267
q3	2142	2575	2226	2226
q4	1342	1782	1289	1289
q5	4430	4240	4381	4240
q6	214	177	137	137
q7	1887	1815	1838	1815
q8	2688	2501	2574	2501
q9	7604	7511	7533	7511
q10	3005	3116	2695	2695
q11	564	458	442	442
q12	750	795	647	647
q13	3886	4276	3667	3667
q14	288	304	280	280
q15	851	820	850	820
q16	668	711	674	674
q17	1181	1407	1395	1395
q18	8066	8089	7964	7964
q19	905	944	884	884
q20	2151	2128	2062	2062
q21	4829	4489	4503	4489
q22	591	537	522	522
Total cold run time: 52708 ms
Total hot run time: 50883 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.99 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 2eef113b0f72570dbbd68e1fc602634b01f5b5b9, data reload: false

query1	0.06	0.05	0.05
query2	0.09	0.04	0.05
query3	0.25	0.08	0.08
query4	1.60	0.11	0.11
query5	0.27	0.25	0.25
query6	1.16	0.68	0.67
query7	0.03	0.02	0.02
query8	0.05	0.03	0.03
query9	0.57	0.51	0.48
query10	0.56	0.55	0.54
query11	0.14	0.08	0.09
query12	0.13	0.10	0.10
query13	0.64	0.62	0.61
query14	1.07	1.07	1.05
query15	0.87	0.87	0.87
query16	0.39	0.39	0.40
query17	1.07	1.16	1.12
query18	0.22	0.20	0.21
query19	2.07	1.92	1.98
query20	0.02	0.02	0.01
query21	15.43	0.29	0.15
query22	5.03	0.06	0.05
query23	15.89	0.29	0.11
query24	1.58	0.62	1.06
query25	0.12	0.06	0.06
query26	0.14	0.14	0.13
query27	0.06	0.07	0.07
query28	4.86	1.14	0.97
query29	12.56	3.97	3.19
query30	0.28	0.14	0.13
query31	2.82	0.64	0.42
query32	3.24	0.60	0.49
query33	3.24	3.37	3.21
query34	16.26	5.40	4.74
query35	4.79	5.82	5.11
query36	0.67	0.54	0.54
query37	0.11	0.06	0.07
query38	0.08	0.05	0.04
query39	0.04	0.04	0.03
query40	0.20	0.17	0.17
query41	0.09	0.03	0.04
query42	0.04	0.03	0.02
query43	0.04	0.03	0.04
Total cold run time: 98.83 s
Total hot run time: 28.99 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.55% (19372/36861)
Line Coverage 36.04% (179936/499278)
Region Coverage 32.39% (139421/430460)
Branch Coverage 33.40% (60399/180838)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.70% (25900/36124)
Line Coverage 54.33% (270634/498090)
Region Coverage 51.89% (225640/434878)
Branch Coverage 53.36% (96877/181570)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 48.56% (203/418) 🎉
Increment coverage report
Complete coverage report

public static final String CLOUD_CLUSTER = "cloud_cluster";
public static final String COMPUTE_GROUP = "compute_group";
public static final String DISABLE_EMPTY_PARTITION_PRUNE = "disable_empty_partition_prune";
public static final String CLOUD_FORCE_SYNC_VERSION = "cloud_force_sync_version";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

force_sync_version_in_cloud_mode is better?

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from 2eef113 to 5c92b67 Compare February 6, 2026 04:14
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 6, 2026

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 54.55% (144/264) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 79.29% (1792/2260)
Line Coverage 64.72% (31981/49418)
Region Coverage 65.52% (15985/24397)
Branch Coverage 56.11% (8511/15168)

@doris-robot
Copy link

TPC-H: Total hot run time: 31058 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 5c92b67105d0829d026dc40361d6d11ff854e9fd, data reload: false

------ Round 1 ----------------------------------
q1	17621	4441	4287	4287
q2	2084	360	262	262
q3	10106	1331	751	751
q4	10205	834	322	322
q5	7554	2246	1946	1946
q6	206	180	147	147
q7	909	750	624	624
q8	9276	1428	1228	1228
q9	4751	4737	4701	4701
q10	6820	1978	1564	1564
q11	534	319	301	301
q12	347	390	231	231
q13	17784	4068	3252	3252
q14	230	239	232	232
q15	905	811	812	811
q16	690	699	647	647
q17	716	855	548	548
q18	6868	5834	6411	5834
q19	1169	1059	661	661
q20	556	557	418	418
q21	2842	2002	2101	2002
q22	389	344	289	289
Total cold run time: 102562 ms
Total hot run time: 31058 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4616	4495	4736	4495
q2	272	347	286	286
q3	2432	2916	2423	2423
q4	1473	1845	1389	1389
q5	4812	4551	4713	4551
q6	246	192	144	144
q7	2054	1940	1765	1765
q8	2533	2424	2394	2394
q9	7612	7574	7496	7496
q10	2833	3002	2696	2696
q11	554	473	503	473
q12	731	779	639	639
q13	3899	4416	3586	3586
q14	286	315	290	290
q15	820	785	819	785
q16	636	697	658	658
q17	1096	1278	1352	1278
q18	7736	7543	7482	7482
q19	877	853	857	853
q20	2013	2088	1886	1886
q21	4617	4292	4158	4158
q22	566	569	507	507
Total cold run time: 52714 ms
Total hot run time: 50234 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.71 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 5c92b67105d0829d026dc40361d6d11ff854e9fd, data reload: false

query1	0.05	0.05	0.05
query2	0.13	0.06	0.08
query3	0.32	0.08	0.08
query4	1.61	0.11	0.10
query5	0.26	0.25	0.25
query6	1.15	0.64	0.64
query7	0.03	0.02	0.03
query8	0.08	0.06	0.07
query9	0.59	0.50	0.48
query10	0.55	0.56	0.55
query11	0.26	0.13	0.14
query12	0.27	0.14	0.14
query13	0.62	0.60	0.60
query14	0.99	0.97	0.99
query15	0.92	0.82	0.83
query16	0.38	0.38	0.43
query17	1.04	1.02	1.08
query18	0.25	0.23	0.22
query19	1.98	1.88	1.82
query20	0.02	0.02	0.01
query21	15.40	0.33	0.28
query22	4.96	0.11	0.11
query23	15.33	0.46	0.29
query24	2.29	0.54	0.39
query25	0.11	0.11	0.11
query26	0.19	0.18	0.18
query27	0.11	0.10	0.11
query28	3.59	1.15	0.99
query29	12.51	4.14	3.31
query30	0.34	0.13	0.11
query31	2.79	0.68	0.43
query32	3.23	0.62	0.50
query33	2.97	3.08	3.03
query34	16.09	5.08	4.52
query35	4.49	4.88	5.16
query36	0.65	0.57	0.56
query37	0.32	0.11	0.09
query38	0.29	0.06	0.06
query39	0.09	0.05	0.05
query40	0.18	0.18	0.16
query41	0.12	0.07	0.07
query42	0.08	0.04	0.04
query43	0.07	0.06	0.05
Total cold run time: 97.7 s
Total hot run time: 28.71 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.61% (19409/36894)
Line Coverage 36.12% (180589/499969)
Region Coverage 32.47% (140008/431258)
Branch Coverage 33.48% (60630/181093)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.61% (25891/36155)
Line Coverage 54.23% (270467/498745)
Region Coverage 51.72% (225321/435642)
Branch Coverage 53.20% (96711/181801)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 47.57% (196/412) 🎉
Increment coverage report
Complete coverage report

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch 2 times, most recently from d6c65c5 to 64e5fd5 Compare February 9, 2026 10:29
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 9, 2026

run buildall

@mymeiyi mymeiyi force-pushed the get_version_dev-0203 branch from 64e5fd5 to 22e5f57 Compare February 9, 2026 10:37
@mymeiyi
Copy link
Contributor Author

mymeiyi commented Feb 9, 2026

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 30468 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 22e5f57fd155bc1a58bc81bc33189a19fc2f72e0, data reload: false

------ Round 1 ----------------------------------
q1	17714	4566	4344	4344
q2	2050	356	241	241
q3	10451	1312	760	760
q4	10339	770	301	301
q5	9237	2244	1886	1886
q6	211	179	145	145
q7	879	736	605	605
q8	9273	1420	1189	1189
q9	4885	4678	4622	4622
q10	6852	1993	1554	1554
q11	532	294	304	294
q12	397	376	228	228
q13	17800	4042	3224	3224
q14	229	237	217	217
q15	921	825	802	802
q16	656	672	623	623
q17	726	882	486	486
q18	6688	5880	5877	5877
q19	1101	1008	627	627
q20	498	489	389	389
q21	2522	1787	1774	1774
q22	359	314	280	280
Total cold run time: 104320 ms
Total hot run time: 30468 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4406	4389	4358	4358
q2	263	348	258	258
q3	2097	2707	2185	2185
q4	1361	1773	1303	1303
q5	4300	4229	4318	4229
q6	214	181	135	135
q7	1882	1781	1707	1707
q8	2775	2449	2432	2432
q9	7623	7654	7397	7397
q10	2942	3040	2616	2616
q11	575	475	470	470
q12	674	764	601	601
q13	3786	4424	3942	3942
q14	287	322	286	286
q15	883	818	800	800
q16	669	718	704	704
q17	1179	1421	1413	1413
q18	8413	7974	8082	7974
q19	863	853	878	853
q20	2102	2119	1965	1965
q21	4880	4783	4311	4311
q22	586	541	519	519
Total cold run time: 52760 ms
Total hot run time: 50458 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 28.11 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 22e5f57fd155bc1a58bc81bc33189a19fc2f72e0, data reload: false

query1	0.05	0.05	0.05
query2	0.14	0.07	0.06
query3	0.33	0.08	0.07
query4	1.61	0.10	0.09
query5	0.30	0.26	0.27
query6	1.15	0.63	0.64
query7	0.04	0.03	0.02
query8	0.08	0.06	0.07
query9	0.58	0.51	0.48
query10	0.55	0.55	0.54
query11	0.26	0.13	0.14
query12	0.27	0.14	0.14
query13	0.63	0.62	0.60
query14	0.98	0.97	0.97
query15	0.92	0.82	0.82
query16	0.39	0.39	0.40
query17	1.03	0.98	1.01
query18	0.24	0.25	0.23
query19	1.96	1.87	1.79
query20	0.02	0.02	0.02
query21	15.41	0.35	0.29
query22	4.92	0.12	0.11
query23	15.34	0.47	0.28
query24	2.34	0.56	0.40
query25	0.12	0.11	0.11
query26	0.19	0.18	0.18
query27	0.11	0.10	0.11
query28	3.53	1.15	0.98
query29	12.52	4.13	3.31
query30	0.32	0.13	0.11
query31	2.80	0.66	0.46
query32	3.24	0.62	0.51
query33	3.01	3.06	2.98
query34	16.04	5.06	4.47
query35	4.53	4.46	4.47
query36	0.61	0.50	0.49
query37	0.32	0.09	0.09
query38	0.27	0.06	0.06
query39	0.08	0.05	0.05
query40	0.21	0.18	0.16
query41	0.13	0.07	0.07
query42	0.09	0.05	0.05
query43	0.06	0.06	0.06
Total cold run time: 97.72 s
Total hot run time: 28.11 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.72% (19445/36882)
Line Coverage 36.22% (181044/499900)
Region Coverage 32.60% (140579/431169)
Branch Coverage 33.62% (60872/181049)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.34% (26504/36138)
Line Coverage 56.37% (281104/498662)
Region Coverage 53.79% (234270/435551)
Branch Coverage 55.59% (101042/181753)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 56.72% (249/439) 🎉
Increment coverage report
Complete coverage report

@dataroaring
Copy link
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants