Skip to content

[improve](streamingjob) add binlogphase bind be#64423

Open
JNSimba wants to merge 2 commits into
apache:masterfrom
JNSimba:streaming-incremental-be-binding
Open

[improve](streamingjob) add binlogphase bind be#64423
JNSimba wants to merge 2 commits into
apache:masterfrom
JNSimba:streaming-incremental-be-binding

Conversation

@JNSimba

@JNSimba JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member

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
Copy Markdown
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?

@JNSimba JNSimba requested a review from Copilot June 11, 2026 10:43
@JNSimba

JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

/review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 improves streaming insert (CDC) binlog-phase stability and reader reuse by pinning binlog execution to a bound BE, preventing displaced tasks from interfering with a successor task’s reader/streamload, and adding an idle-reader reaper on the cdc_client side to release unused readers while keeping upstream slots.

Changes:

  • Add BE binding/preference for binlog phase (FE selects preferred BE; offset provider routes RPCs to the bound BE).
  • Add cdc_client-side reader ownership + liveness tracking (keepAlive) and an idle-reader cleanup scheduler.
  • Prevent displaced tasks from closing shared resources and ensure commit/cleanup uses the owning taskId.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/source/reader/JdbcIncrementalSourceReader.java Add offset-based guard to reuse/rebuild the live stream reader.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/service/PipelineCoordinator.java Ownership checks to avoid displaced-task cleanup/commit; keepAlive during polling; adjust finishSplitRecords behavior for binlog reuse.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/controller/ClientController.java keepAlive heartbeat when fetching end offset.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/common/Env.java Add ownership, keepAlive, FE-requested rebuild, and scheduled idle-reader release.
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/common/Constants.java Add idle reader cleanup timing constants.
fe/fe-core/src/main/java/org/apache/doris/job/util/StreamingJobUtils.java Add selectBackend overload to prefer a bound backendId.
fe/fe-core/src/main/java/org/apache/doris/job/offset/SourceOffsetProvider.java Add bound-backend binding hook for providers.
fe/fe-core/src/main/java/org/apache/doris/job/offset/jdbc/JdbcSourceOffsetProvider.java Route fetch/compare/clean RPCs to bound BE; store boundBackendId transiently.
fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java Route manual status alter handling to StreamingInsertJob.onManualStatusAltered.
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/StreamingMultiTblTask.java Bind BE selection in binlog phase; mark rebuildReader on RPC errors/timeouts; set rebuildReader on requests; adjust release semantics.
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/StreamingInsertJob.java Persist boundBackendId; track needRebuildReader; release reader on manual pause; avoid overwriting manual pause failure reason.
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/AbstractStreamingTask.java Add default releaseRemoteReader hook for tasks without CDC readers.
fe/fe-common/src/main/java/org/apache/doris/job/cdc/request/WriteRecordRequest.java Add rebuildReader flag for FE→cdc_client coordination.

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

Comment on lines 174 to 178
} catch (ExecutionException | InterruptedException ex) {
log.error("Send write request failed: ", ex);
markJobNeedRebuildReader();
throw new JobException(ex);
}
Comment on lines +247 to +253
/** Liveness evidence (FE heartbeat or active poll): keep this job's reader alive. */
public void keepAlive(String jobId) {
JobContext context = jobContexts.get(jobId);
if (context != null) {
context.lastAliveTime = System.currentTimeMillis();
}
}
Comment on lines +281 to +285
jobContexts.remove(jobId);
if (context.reader != null && context.jobConfig != null) {
try {
context.reader.release(context.jobConfig);
} catch (Exception ex) {
Comment on lines +770 to 774
boolean isSnapshotSplit =
readResult != null
&& readResult.getSplit() != null
&& sourceReader.isSnapshotSplit(readResult.getSplit());
try {
@JNSimba

JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

run buildall

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I reviewed the actual 13-file PR diff from GitHub. The goal is to pin incremental/binlog streaming work to a BE for reader reuse and rebuild/release readers when needed. The implementation is focused, but I found two lifecycle/data-correctness issues that need to be fixed before approval.\n\nCritical checkpoint conclusions:\n- Goal/test proof: the goal is only partially met; there are no PR tests covering BE rebind, displaced tasks, manual pause, or reader reuse failure paths.\n- Concurrency/lifecycle: not safe yet. Reader ownership can move while job-scoped stream-load state remains, and BE rebinding can leave the old live reader running.\n- Data writes/transactionality: blocking issue. Rows buffered by a displaced task can be flushed by a later task without the old offset being committed.\n- Persistence/compatibility: boundBackendId is persisted, and I did not find a thrift/storage-format change. The remaining concern is operational lifecycle during rebind/failover rather than serialization compatibility.\n- Configuration/observability: no new config items; logs are present, but they do not compensate for the lifecycle gaps.\n- Parallel paths: snapshot vs binlog behavior was considered. The issues are specific to the new binlog reader reuse/rebind path and displaced async writes.\n\nUser focus: no additional user-provided focus points were present.

}
}
if (!stillOwner) {
LOG.info(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This early return leaves the job-scoped DorisBatchStreamLoad in batchStreamLoadMap untouched. The path is reachable after a task has already called writeRecord() and then loses ownership because FE released/rebuilt/rebound the reader; in that case the old task skips forceFlush() and commitOffset(), but its rows can still remain in bufferMap/flushQueue. The next task reuses the same loader in getOrCreateBatchStreamLoad() and only clears LoadStatistic, so it can flush the previous task's uncommitted rows under the new task while FE never advanced the old offset. Please discard or isolate the stream-load buffers when skipping commit, without closing a successor task's active loader.


// Binlog phase: prefer the bound BE in selectBackend; rebind + persist on change.
public Backend resolveBoundBackend() throws JobException {
Backend selected = StreamingJobUtils.selectBackend(cloudCluster, boundBackendId);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When the preferred BE is no longer load-available, this rebinds the job to a new BE but does not release the live reader on the old boundBackendId. isLoadAvailable() can be false while the BE process is still alive, and the binlog path intentionally keeps the old cdc_client reader open across tasks. Dispatching the next binlog task to the new BE can therefore create a second reader for the same source/PG replication slot or duplicate MySQL binlog consumption until the idle reaper eventually runs. Please cleanly release the previous bound BE's reader before persisting the new binding, or prevent rebind until that reader is known stopped.

@hello-stephen

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	18009	4113	3996	3996
q2	q3	10806	1340	831	831
q4	4683	468	336	336
q5	7498	875	580	580
q6	180	170	134	134
q7	762	853	625	625
q8	9364	1584	1496	1496
q9	5754	4533	4503	4503
q10	6820	1785	1532	1532
q11	433	295	258	258
q12	638	414	285	285
q13	18146	3444	2789	2789
q14	267	260	237	237
q15	q16	826	777	706	706
q17	908	942	889	889
q18	6753	5878	5565	5565
q19	1701	1351	1112	1112
q20	504	395	269	269
q21	6282	2933	2547	2547
q22	464	373	334	334
Total cold run time: 100798 ms
Total hot run time: 29024 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	5119	4784	4797	4784
q2	q3	4882	5373	4760	4760
q4	2144	2171	1385	1385
q5	4773	4834	4690	4690
q6	231	175	126	126
q7	1875	1853	1530	1530
q8	2406	2092	2084	2084
q9	7811	7526	7393	7393
q10	4740	4651	4236	4236
q11	523	388	353	353
q12	739	734	532	532
q13	2988	3373	2806	2806
q14	281	278	264	264
q15	q16	686	707	600	600
q17	1283	1252	1257	1252
q18	7288	6928	6719	6719
q19	1119	1079	1063	1063
q20	2223	2221	1920	1920
q21	5306	4576	4468	4468
q22	507	459	421	421
Total cold run time: 56924 ms
Total hot run time: 51386 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 168887 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 6cc16e1d6faf9bd972d6387981decd7db5ad39eb, data reload: false

query5	4317	622	492	492
query6	456	187	166	166
query7	4946	542	309	309
query8	362	220	208	208
query9	8758	4023	4065	4023
query10	432	307	252	252
query11	5902	2302	2179	2179
query12	159	97	101	97
query13	1268	631	417	417
query14	6393	5358	5097	5097
query14_1	4379	4375	4308	4308
query15	205	192	175	175
query16	1011	451	444	444
query17	1102	686	553	553
query18	2634	455	338	338
query19	196	178	135	135
query20	111	108	102	102
query21	219	136	113	113
query22	13595	13624	13397	13397
query23	17334	16415	16164	16164
query23_1	16224	16195	16419	16195
query24	7562	1777	1270	1270
query24_1	1276	1293	1264	1264
query25	543	438	366	366
query26	1287	306	165	165
query27	2738	552	344	344
query28	4392	1979	1975	1975
query29	1040	582	463	463
query30	316	233	200	200
query31	1106	1083	954	954
query32	113	63	60	60
query33	524	326	264	264
query34	1175	1133	666	666
query35	756	794	673	673
query36	1343	1384	1182	1182
query37	160	109	93	93
query38	3195	3122	3052	3052
query39	929	937	893	893
query39_1	894	878	891	878
query40	223	127	110	110
query41	72	67	65	65
query42	96	100	97	97
query43	316	325	281	281
query44	
query45	200	184	181	181
query46	1077	1206	771	771
query47	2356	2390	2262	2262
query48	415	411	315	315
query49	656	477	359	359
query50	990	369	262	262
query51	4293	4303	4215	4215
query52	89	92	79	79
query53	240	269	188	188
query54	274	224	207	207
query55	80	78	73	73
query56	254	237	237	237
query57	1452	1391	1319	1319
query58	248	225	218	218
query59	1603	1644	1449	1449
query60	291	274	236	236
query61	175	170	166	166
query62	707	649	593	593
query63	231	179	189	179
query64	2576	830	650	650
query65	
query66	1756	452	331	331
query67	29692	29636	29585	29585
query68	
query69	423	292	261	261
query70	968	933	986	933
query71	294	220	209	209
query72	2940	2618	2326	2326
query73	839	762	437	437
query74	5127	4947	4776	4776
query75	2657	2551	2236	2236
query76	2367	1151	797	797
query77	340	374	274	274
query78	12461	12558	11828	11828
query79	1355	1035	779	779
query80	622	461	386	386
query81	456	284	243	243
query82	579	158	121	121
query83	346	271	252	252
query84	
query85	855	524	414	414
query86	369	301	286	286
query87	3354	3357	3192	3192
query88	3642	2734	2705	2705
query89	414	386	324	324
query90	1964	186	175	175
query91	171	158	159	158
query92	63	55	54	54
query93	1542	1592	904	904
query94	543	337	314	314
query95	672	495	342	342
query96	1092	786	321	321
query97	2689	2699	2576	2576
query98	215	209	199	199
query99	1151	1163	1031	1031
Total cold run time: 250707 ms
Total hot run time: 168887 ms

@JNSimba

JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

/review

@JNSimba

JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

run buildall

1 similar comment
@JNSimba

JNSimba commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

run buildall

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I found two additional blocking issues beyond the existing inline review threads: the persisted bound BE is not replayed into the transient offset provider, and the CDC client still treats a point-in-time ownership check as a lease while it continues to touch the shared reader/loader state.

Critical checkpoint conclusions:

  • Goal/test: the PR goal is clear, but I did not run tests in this review-only pass; lifecycle/concurrency tests around FE failover and task takeover would be needed.
  • Focused change: the change is focused on CDC reader reuse and bound-BE routing.
  • Concurrency/locks/lifecycle: not satisfied. Existing threads already cover several races/leaks, and the added positive-owner race below is another blocker.
  • Persistence/replay/data consistency: not satisfied because journal replay can leave provider routing stale after boundBackendId changes.
  • Config/compatibility/FE-BE variables: no additional compatibility issue found beyond the bound-BE routing sync problem.
  • Tests/observability/performance: no additional test evidence was provided in this review context; no separate performance regression identified.

User focus: no additional user-provided review focus was present, so I performed the full PR review without a special focus area.

@@ -591,7 +602,21 @@ public void writeRecords(WriteRecordRequest writeRecordRequest) throws Exception
writeRecordRequest.getTaskId());

} finally {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is only a point-in-time ownership read. A stale task can observe stillOwner == true, then the FE timeout/auto-resume path can dispatch a successor that calls getReaderAndClaim() before this method reaches cleanupReaderResources(), forceFlush(), resetTaskId(), or commitOffset(). Those later operations use the job-scoped DorisBatchStreamLoad; the successor can already have changed currentTaskId/load props and cleared stats, so the old task can flush or commit mixed state after it no longer owns the reader. This is distinct from the existing !stillOwner early-return thread: here the stale task first observes true and then loses ownership before the guarded operations execute. The same lease gap exists in the catch-side closeJobStreamLoad() guard above. Please make the owner-to-cleanup/flush/commit decision atomic with ownership transition, or revalidate under an owned lease immediately before touching the reader/loader and committing.

public void onStreamTaskSuccess(AbstractStreamingTask task) throws JobException {
try {
this.needRebuildReader = false;
resetFailureInfo(null);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This copies the persisted binding into the job, but the existing JdbcSourceOffsetProvider keeps its transient boundBackendId unchanged. gsonPostProcess() covers full-image load because createOffsetProvider() sets the bound BE, but journal replay uses this method on an already-created provider. If this follower becomes master before another binlog dispatch calls resolveBoundBackend(), handleRunningState().fetchMeta() or the scheduler's hasMoreDataToConsume() can route provider RPCs (fetchEndOffset/compareOffset, and later cleanup) with boundBackendId == 0 or a stale value, probing or closing a random BE instead of the persisted bound BE. Please sync offsetProvider.setBoundBackendId(boundBackendId) whenever replay/copy updates this field.

@hello-stephen

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17602	3984	3945	3945
q2	q3	10736	1390	806	806
q4	4685	470	335	335
q5	7552	856	564	564
q6	178	167	131	131
q7	780	840	617	617
q8	9590	1524	1549	1524
q9	6813	4534	4511	4511
q10	6851	1802	1532	1532
q11	434	267	245	245
q12	654	423	284	284
q13	18194	3395	2759	2759
q14	273	255	245	245
q15	q16	822	771	705	705
q17	909	896	987	896
q18	7241	5700	5618	5618
q19	1237	1216	1004	1004
q20	525	400	253	253
q21	6159	2802	2666	2666
q22	463	378	318	318
Total cold run time: 101698 ms
Total hot run time: 28958 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4922	4815	4700	4700
q2	q3	4987	5313	4639	4639
q4	2112	2231	1386	1386
q5	4857	4936	4804	4804
q6	229	171	125	125
q7	1802	1725	1573	1573
q8	2428	2130	1975	1975
q9	7424	7455	7448	7448
q10	4753	4697	4208	4208
q11	528	392	387	387
q12	731	744	521	521
q13	2975	3406	2795	2795
q14	286	277	249	249
q15	q16	686	703	614	614
q17	1303	1270	1269	1269
q18	7276	6934	6704	6704
q19	1119	1108	1122	1108
q20	2226	2238	1966	1966
q21	5291	4576	4453	4453
q22	521	447	431	431
Total cold run time: 56456 ms
Total hot run time: 51355 ms

@hello-stephen

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17860	4184	4138	4138
q2	q3	10779	1445	855	855
q4	4694	469	337	337
q5	7567	882	608	608
q6	187	170	133	133
q7	765	826	620	620
q8	9565	1486	1624	1486
q9	6402	4591	4509	4509
q10	6866	1791	1503	1503
q11	443	269	249	249
q12	648	432	291	291
q13	18163	3423	2776	2776
q14	270	258	244	244
q15	q16	817	777	710	710
q17	946	1009	824	824
q18	6966	5683	5524	5524
q19	1440	1277	1024	1024
q20	507	405	274	274
q21	5822	2914	2547	2547
q22	432	374	318	318
Total cold run time: 101139 ms
Total hot run time: 28970 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	5042	4891	4904	4891
q2	q3	5200	5247	4624	4624
q4	2153	2229	1394	1394
q5	4877	4882	4764	4764
q6	241	183	136	136
q7	1887	1736	1617	1617
q8	2363	2276	1964	1964
q9	7517	7451	7406	7406
q10	4759	4695	4231	4231
q11	549	393	363	363
q12	738	743	529	529
q13	3026	3340	2844	2844
q14	284	277	245	245
q15	q16	679	706	617	617
q17	1289	1276	1262	1262
q18	7328	7057	6604	6604
q19	1135	1102	1083	1083
q20	2229	2228	1952	1952
q21	5341	4728	4581	4581
q22	536	458	417	417
Total cold run time: 57173 ms
Total hot run time: 51524 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 168893 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 7ce1a562e4958c1c8c674ed77c1ff0955cb24555, data reload: false

query5	4320	631	476	476
query6	441	198	171	171
query7	4841	519	317	317
query8	362	214	208	208
query9	8764	3988	3994	3988
query10	466	307	258	258
query11	5875	2376	2193	2193
query12	166	107	98	98
query13	1293	610	430	430
query14	6779	5392	5075	5075
query14_1	4376	4390	4357	4357
query15	205	199	177	177
query16	1059	453	460	453
query17	1133	697	587	587
query18	2701	482	355	355
query19	209	190	151	151
query20	123	110	103	103
query21	221	139	121	121
query22	13652	13453	13337	13337
query23	17212	16573	16169	16169
query23_1	16168	16300	16190	16190
query24	7657	1752	1316	1316
query24_1	1312	1305	1323	1305
query25	570	463	387	387
query26	1319	325	172	172
query27	2600	572	342	342
query28	4401	2004	2015	2004
query29	1080	642	497	497
query30	310	240	199	199
query31	1155	1078	967	967
query32	112	63	62	62
query33	543	319	271	271
query34	1189	1139	652	652
query35	754	790	719	719
query36	1404	1405	1223	1223
query37	152	99	91	91
query38	3191	3146	3057	3057
query39	933	921	908	908
query39_1	874	912	860	860
query40	222	123	102	102
query41	63	60	61	60
query42	94	94	93	93
query43	314	315	281	281
query44	
query45	198	185	178	178
query46	1068	1212	719	719
query47	2372	2364	2261	2261
query48	403	412	288	288
query49	636	458	345	345
query50	1057	352	255	255
query51	4425	4289	4304	4289
query52	88	88	75	75
query53	237	275	192	192
query54	267	212	189	189
query55	77	75	68	68
query56	232	221	214	214
query57	1419	1426	1358	1358
query58	242	213	213	213
query59	1560	1688	1471	1471
query60	284	243	225	225
query61	157	151	154	151
query62	704	664	586	586
query63	225	183	184	183
query64	2475	758	649	649
query65	
query66	1745	472	340	340
query67	29829	29589	29409	29409
query68	
query69	412	305	257	257
query70	997	968	977	968
query71	345	222	215	215
query72	2882	2907	2357	2357
query73	831	762	424	424
query74	5098	4942	4769	4769
query75	2649	2570	2236	2236
query76	2347	1161	781	781
query77	350	381	287	287
query78	12575	12345	11907	11907
query79	1409	1014	732	732
query80	1289	463	397	397
query81	521	282	249	249
query82	628	158	117	117
query83	320	273	246	246
query84	
query85	924	535	422	422
query86	439	307	294	294
query87	3394	3395	3178	3178
query88	3612	2752	2726	2726
query89	429	388	332	332
query90	1936	183	177	177
query91	172	155	135	135
query92	66	61	52	52
query93	1593	1442	905	905
query94	708	345	321	321
query95	669	397	433	397
query96	1061	843	366	366
query97	2712	2727	2567	2567
query98	210	202	206	202
query99	1148	1197	1046	1046
Total cold run time: 252473 ms
Total hot run time: 168893 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 169481 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 7ce1a562e4958c1c8c674ed77c1ff0955cb24555, data reload: false

query5	4373	624	457	457
query6	453	193	178	178
query7	4829	544	279	279
query8	358	210	206	206
query9	8747	4086	4064	4064
query10	428	301	254	254
query11	5946	2359	2151	2151
query12	165	105	100	100
query13	1270	615	412	412
query14	6343	5410	5025	5025
query14_1	4377	4399	4359	4359
query15	204	196	175	175
query16	995	447	433	433
query17	1097	686	546	546
query18	2413	472	330	330
query19	200	182	137	137
query20	111	103	102	102
query21	217	139	116	116
query22	13689	13627	13414	13414
query23	17417	16546	16129	16129
query23_1	16199	16257	16385	16257
query24	7579	1777	1320	1320
query24_1	1337	1281	1289	1281
query25	566	469	399	399
query26	1293	312	160	160
query27	2736	592	349	349
query28	4505	2023	2057	2023
query29	1081	629	505	505
query30	317	237	199	199
query31	1119	1073	963	963
query32	118	64	63	63
query33	556	327	256	256
query34	1196	1210	661	661
query35	763	796	693	693
query36	1415	1379	1173	1173
query37	157	111	98	98
query38	3224	3124	3067	3067
query39	936	927	913	913
query39_1	902	901	882	882
query40	220	128	108	108
query41	71	67	68	67
query42	99	97	97	97
query43	332	326	284	284
query44	
query45	205	196	180	180
query46	1096	1239	758	758
query47	2358	2360	2244	2244
query48	412	437	292	292
query49	644	482	361	361
query50	995	351	260	260
query51	4315	4280	4279	4279
query52	91	92	79	79
query53	255	276	199	199
query54	285	233	211	211
query55	81	76	73	73
query56	251	252	225	225
query57	1423	1405	1322	1322
query58	255	226	219	219
query59	1552	1662	1397	1397
query60	311	266	240	240
query61	217	149	153	149
query62	710	638	589	589
query63	228	193	187	187
query64	2528	757	610	610
query65	
query66	1812	459	333	333
query67	30224	29744	29592	29592
query68	
query69	432	300	275	275
query70	986	953	889	889
query71	298	218	204	204
query72	2886	2683	2387	2387
query73	857	770	450	450
query74	5108	4946	4769	4769
query75	2668	2575	2216	2216
query76	2326	1153	800	800
query77	341	374	292	292
query78	12409	12462	11877	11877
query79	1409	1077	761	761
query80	913	464	382	382
query81	498	298	239	239
query82	577	165	124	124
query83	354	277	245	245
query84	
query85	894	503	453	453
query86	400	318	277	277
query87	3422	3419	3198	3198
query88	3646	2765	2692	2692
query89	422	382	333	333
query90	1932	181	187	181
query91	173	163	137	137
query92	63	59	55	55
query93	1535	1538	959	959
query94	623	368	331	331
query95	666	453	353	353
query96	1031	786	342	342
query97	2702	2690	2548	2548
query98	212	204	205	204
query99	1152	1189	1044	1044
Total cold run time: 251926 ms
Total hot run time: 169481 ms

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 26.67% (16/60) 🎉
Increment coverage report
Complete coverage report

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.

3 participants