Skip to content

Conversation

@Mryange
Copy link
Contributor

@Mryange Mryange commented Jan 22, 2025

What problem does this PR solve?

#41602
EOF clears _instance_to_package_queue but does not update total_queue_size, causing incorrect judgments that rely on total_queue_size.

UT

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size : 
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size 
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3

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

@Thearas
Copy link
Contributor

Thearas commented Jan 22, 2025

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?

@Mryange
Copy link
Contributor Author

Mryange commented Jan 22, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17592	5546	5409	5409
q2	2065	302	173	173
q3	10494	1216	744	744
q4	10223	983	547	547
q5	7646	2398	2191	2191
q6	198	174	133	133
q7	910	761	598	598
q8	9237	1358	1192	1192
q9	5153	4918	4975	4918
q10	6842	2331	1891	1891
q11	488	270	260	260
q12	345	360	224	224
q13	17802	3732	3081	3081
q14	244	233	215	215
q15	533	473	465	465
q16	619	608	595	595
q17	579	869	333	333
q18	7126	6676	6411	6411
q19	2893	958	521	521
q20	307	320	195	195
q21	2823	2224	1995	1995
q22	359	339	314	314
Total cold run time: 104478 ms
Total hot run time: 32405 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5594	5518	5536	5518
q2	238	342	244	244
q3	2284	2675	2362	2362
q4	1444	1832	1378	1378
q5	4325	4768	4783	4768
q6	174	164	125	125
q7	2048	1986	1845	1845
q8	2654	2832	2753	2753
q9	7387	7304	7364	7304
q10	3018	3299	2700	2700
q11	563	505	491	491
q12	646	774	637	637
q13	3592	3895	3275	3275
q14	286	307	285	285
q15	510	498	463	463
q16	651	696	653	653
q17	1230	1755	1257	1257
q18	7742	7551	7379	7379
q19	806	883	1210	883
q20	1993	2067	1878	1878
q21	5752	5056	4990	4990
q22	603	599	587	587
Total cold run time: 53540 ms
Total hot run time: 51775 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 194815 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 294970dee21037f3646502800971608eb4f60787, data reload: false

query1	1326	972	927	927
query2	6283	2051	1959	1959
query3	11158	4641	4719	4641
query4	60943	28992	23508	23508
query5	5470	589	456	456
query6	411	194	174	174
query7	5536	507	299	299
query8	315	237	236	236
query9	8155	2578	2559	2559
query10	469	317	252	252
query11	17459	15375	15374	15374
query12	173	124	113	113
query13	1470	548	413	413
query14	11512	6951	6789	6789
query15	222	208	187	187
query16	7204	661	467	467
query17	1180	761	583	583
query18	1870	417	323	323
query19	218	186	162	162
query20	121	117	115	115
query21	211	125	103	103
query22	4732	4559	4571	4559
query23	34124	33805	33361	33361
query24	5612	2362	2401	2362
query25	461	492	394	394
query26	661	238	151	151
query27	1792	476	333	333
query28	4325	2468	2448	2448
query29	563	563	425	425
query30	213	208	155	155
query31	925	880	826	826
query32	66	62	55	55
query33	421	375	304	304
query34	733	876	494	494
query35	808	862	767	767
query36	1021	1060	965	965
query37	130	105	92	92
query38	4257	4392	4244	4244
query39	1503	1443	1433	1433
query40	208	141	104	104
query41	53	50	52	50
query42	117	103	101	101
query43	521	517	492	492
query44	1305	805	814	805
query45	191	176	173	173
query46	883	1074	669	669
query47	1949	1954	1894	1894
query48	384	415	319	319
query49	723	501	400	400
query50	668	670	409	409
query51	7147	7203	6987	6987
query52	100	98	97	97
query53	224	253	183	183
query54	491	516	445	445
query55	85	77	105	77
query56	273	268	261	261
query57	1202	1206	1133	1133
query58	249	246	231	231
query59	3080	3008	2831	2831
query60	284	261	247	247
query61	139	113	131	113
query62	709	723	638	638
query63	221	183	187	183
query64	1332	1033	721	721
query65	3224	3151	3185	3151
query66	708	400	290	290
query67	16134	15695	15499	15499
query68	5004	832	521	521
query69	483	302	266	266
query70	1176	1103	1098	1098
query71	412	283	255	255
query72	6029	3969	3835	3835
query73	804	752	358	358
query74	9786	8839	8862	8839
query75	3207	3174	2627	2627
query76	3750	1185	790	790
query77	469	371	289	289
query78	10057	9957	9452	9452
query79	2532	814	598	598
query80	1284	540	453	453
query81	529	295	242	242
query82	356	156	119	119
query83	253	172	160	160
query84	291	97	74	74
query85	818	350	321	321
query86	406	318	305	305
query87	4528	4450	4302	4302
query88	3897	2191	2156	2156
query89	404	331	293	293
query90	1606	191	201	191
query91	136	138	107	107
query92	67	56	53	53
query93	2879	887	535	535
query94	810	416	299	299
query95	333	276	267	267
query96	486	623	278	278
query97	2800	2862	2746	2746
query98	220	200	196	196
query99	1278	1359	1279	1279
Total cold run time: 313747 ms
Total hot run time: 194815 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.07	0.03	0.03
query3	0.24	0.07	0.07
query4	1.61	0.11	0.10
query5	0.43	0.42	0.40
query6	1.16	0.65	0.67
query7	0.03	0.02	0.01
query8	0.04	0.03	0.03
query9	0.59	0.50	0.49
query10	0.57	0.57	0.56
query11	0.15	0.10	0.10
query12	0.14	0.10	0.11
query13	0.61	0.60	0.61
query14	2.75	2.82	2.72
query15	0.90	0.83	0.83
query16	0.37	0.40	0.38
query17	1.00	1.03	0.99
query18	0.25	0.22	0.21
query19	1.88	1.73	1.98
query20	0.02	0.02	0.01
query21	15.36	0.88	0.58
query22	0.77	0.76	0.69
query23	15.24	1.44	0.59
query24	3.02	1.51	0.73
query25	0.19	0.09	0.20
query26	0.38	0.15	0.14
query27	0.05	0.05	0.04
query28	13.68	1.04	0.44
query29	12.62	3.88	3.25
query30	0.25	0.09	0.06
query31	2.83	0.61	0.38
query32	3.22	0.56	0.46
query33	2.98	3.09	3.03
query34	16.56	5.11	4.53
query35	4.58	4.64	4.58
query36	0.66	0.52	0.49
query37	0.10	0.06	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.02
query40	0.17	0.14	0.12
query41	0.08	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 105.73 s
Total hot run time: 30.43 s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.56% (10835/26070)
Line Coverage: 31.96% (91585/286552)
Region Coverage: 31.10% (46910/150852)
Branch Coverage: 27.19% (23764/87394)
Coverage Report: http://coverage.selectdb-in.cc/coverage/294970dee21037f3646502800971608eb4f60787_294970dee21037f3646502800971608eb4f60787/report/index.html


std::queue<TransmitInfo, std::list<TransmitInfo>>& q = _instance_to_package_queue[id];
for (; !q.empty(); q.pop()) {
_total_queue_size--;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add comment for this var and the queue.

@Mryange
Copy link
Contributor Author

Mryange commented Jan 23, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17582	6217	5477	5477
q2	2049	312	171	171
q3	10402	1209	746	746
q4	10208	958	522	522
q5	7587	2383	2136	2136
q6	193	168	142	142
q7	906	762	612	612
q8	9243	1354	1143	1143
q9	5130	4797	4879	4797
q10	6837	2318	1883	1883
q11	500	286	264	264
q12	361	357	229	229
q13	18272	3801	3127	3127
q14	232	219	214	214
q15	530	477	467	467
q16	619	616	592	592
q17	549	857	330	330
q18	7069	6419	6425	6419
q19	1960	936	552	552
q20	319	318	189	189
q21	2823	2295	1998	1998
q22	379	340	310	310
Total cold run time: 103750 ms
Total hot run time: 32320 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5584	5510	5515	5510
q2	239	329	238	238
q3	2244	2610	2279	2279
q4	1407	1848	1367	1367
q5	4339	4734	4617	4617
q6	173	165	132	132
q7	2011	1930	1832	1832
q8	2560	2856	2651	2651
q9	7301	7240	7240	7240
q10	3092	3308	2838	2838
q11	600	500	504	500
q12	639	746	603	603
q13	3539	4045	3277	3277
q14	285	297	271	271
q15	523	472	459	459
q16	641	695	653	653
q17	1233	1725	1252	1252
q18	7556	7398	7300	7300
q19	805	1169	1092	1092
q20	1996	2031	1879	1879
q21	5898	5236	4965	4965
q22	595	608	550	550
Total cold run time: 53260 ms
Total hot run time: 51505 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 194423 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 f5fb84448e8aa908c474ad8f826146123d213d2b, data reload: false

query1	1304	959	942	942
query2	6301	2054	2058	2054
query3	11110	4648	4527	4527
query4	61549	28792	23012	23012
query5	5522	598	441	441
query6	410	187	190	187
query7	5514	498	321	321
query8	319	234	215	215
query9	8214	2672	2648	2648
query10	449	302	271	271
query11	17265	15451	15394	15394
query12	167	106	106	106
query13	1420	560	424	424
query14	11550	6640	6966	6640
query15	206	213	194	194
query16	7250	648	485	485
query17	1159	770	579	579
query18	1920	420	331	331
query19	210	193	160	160
query20	115	115	111	111
query21	213	133	105	105
query22	4427	4692	4446	4446
query23	33898	33481	33346	33346
query24	5527	2384	2338	2338
query25	455	450	415	415
query26	664	278	160	160
query27	1674	496	326	326
query28	4060	2484	2476	2476
query29	530	553	430	430
query30	214	192	183	183
query31	928	898	862	862
query32	70	60	56	56
query33	450	368	315	315
query34	763	872	529	529
query35	790	841	743	743
query36	1015	1028	955	955
query37	125	107	77	77
query38	4320	4297	4413	4297
query39	1476	1432	1431	1431
query40	211	115	105	105
query41	51	49	49	49
query42	119	101	115	101
query43	514	527	478	478
query44	1375	824	828	824
query45	184	173	170	170
query46	884	1055	670	670
query47	1926	1899	1809	1809
query48	385	416	337	337
query49	704	491	417	417
query50	660	676	408	408
query51	6972	6983	6992	6983
query52	109	103	92	92
query53	230	252	183	183
query54	499	492	425	425
query55	83	86	82	82
query56	268	282	272	272
query57	1266	1197	1119	1119
query58	239	235	234	234
query59	3045	3117	2975	2975
query60	275	274	248	248
query61	130	115	111	111
query62	723	680	636	636
query63	219	187	190	187
query64	1264	1036	664	664
query65	3472	3144	3159	3144
query66	731	395	317	317
query67	15891	15755	15423	15423
query68	6325	745	530	530
query69	525	298	255	255
query70	1164	1169	1131	1131
query71	428	283	255	255
query72	5453	3825	3794	3794
query73	821	744	365	365
query74	10442	8878	9040	8878
query75	3266	3147	2681	2681
query76	3765	1172	856	856
query77	507	361	285	285
query78	10143	9983	9353	9353
query79	3552	813	577	577
query80	1184	529	448	448
query81	517	276	233	233
query82	1108	149	121	121
query83	223	173	153	153
query84	286	95	80	80
query85	781	347	293	293
query86	420	321	295	295
query87	4501	4417	4489	4417
query88	4585	2224	2206	2206
query89	401	328	290	290
query90	1523	191	194	191
query91	136	141	106	106
query92	71	58	49	49
query93	3031	862	528	528
query94	871	409	303	303
query95	332	268	253	253
query96	493	609	289	289
query97	2820	2895	2732	2732
query98	217	197	206	197
query99	1298	1358	1284	1284
Total cold run time: 317171 ms
Total hot run time: 194423 ms

@doris-robot
Copy link

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

query1	0.03	0.04	0.03
query2	0.08	0.03	0.03
query3	0.24	0.07	0.07
query4	1.61	0.10	0.11
query5	0.42	0.43	0.41
query6	1.15	0.66	0.64
query7	0.02	0.01	0.02
query8	0.04	0.03	0.04
query9	0.59	0.50	0.49
query10	0.54	0.56	0.55
query11	0.15	0.10	0.10
query12	0.14	0.11	0.11
query13	0.60	0.59	0.59
query14	2.72	2.71	2.76
query15	0.90	0.83	0.83
query16	0.37	0.39	0.39
query17	1.06	0.99	1.01
query18	0.23	0.21	0.20
query19	1.97	1.86	2.01
query20	0.01	0.01	0.01
query21	15.36	0.98	0.59
query22	0.74	0.77	0.74
query23	15.28	1.45	0.52
query24	2.86	1.16	1.78
query25	0.22	0.12	0.16
query26	0.26	0.15	0.13
query27	0.05	0.09	0.06
query28	14.18	1.05	0.44
query29	13.02	4.23	3.51
query30	0.25	0.09	0.06
query31	2.83	0.59	0.39
query32	3.23	0.55	0.45
query33	3.02	3.06	2.97
query34	16.76	5.16	4.59
query35	4.54	4.56	4.61
query36	0.64	0.49	0.48
query37	0.09	0.06	0.06
query38	0.04	0.04	0.03
query39	0.03	0.03	0.02
query40	0.17	0.15	0.13
query41	0.08	0.02	0.02
query42	0.04	0.03	0.02
query43	0.03	0.03	0.03
Total cold run time: 106.59 s
Total hot run time: 31.23 s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.57% (10839/26073)
Line Coverage: 31.96% (91590/286595)
Region Coverage: 31.10% (46915/150866)
Branch Coverage: 27.19% (23765/87390)
Coverage Report: http://coverage.selectdb-in.cc/coverage/f5fb84448e8aa908c474ad8f826146123d213d2b_f5fb84448e8aa908c474ad8f826146123d213d2b/report/index.html

jacktengg
jacktengg previously approved these changes Jan 23, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 23, 2025
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@Mryange
Copy link
Contributor Author

Mryange commented Jan 23, 2025

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jan 23, 2025
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17580	5650	5372	5372
q2	2052	311	170	170
q3	10424	1207	713	713
q4	10236	979	536	536
q5	7919	2363	2127	2127
q6	188	163	132	132
q7	902	773	593	593
q8	9246	1329	1128	1128
q9	5178	4834	4906	4834
q10	7013	2370	1943	1943
q11	478	270	248	248
q12	336	353	213	213
q13	17765	3750	3052	3052
q14	227	231	210	210
q15	526	472	465	465
q16	640	623	608	608
q17	550	845	314	314
q18	6920	6499	6371	6371
q19	1525	950	530	530
q20	311	318	194	194
q21	2763	2139	1932	1932
q22	368	329	312	312
Total cold run time: 103147 ms
Total hot run time: 31997 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5506	5497	5441	5441
q2	232	334	227	227
q3	2255	2652	2334	2334
q4	1414	1837	1383	1383
q5	4255	4696	4634	4634
q6	169	157	126	126
q7	2021	2026	1803	1803
q8	2597	2783	2703	2703
q9	7322	7255	7234	7234
q10	3002	3291	2815	2815
q11	565	504	487	487
q12	660	738	620	620
q13	3571	3944	3339	3339
q14	282	295	279	279
q15	528	482	463	463
q16	640	722	643	643
q17	1226	1748	1276	1276
q18	7659	7597	7361	7361
q19	772	1094	1066	1066
q20	1977	2032	1906	1906
q21	5848	5165	5149	5149
q22	626	618	568	568
Total cold run time: 53127 ms
Total hot run time: 51857 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 41.95% (10940/26076)
Line Coverage: 32.22% (92335/286617)
Region Coverage: 31.34% (47291/150900)
Branch Coverage: 27.38% (23931/87400)
Coverage Report: http://coverage.selectdb-in.cc/coverage/f0314be8a65f6138bf8cd93852c517bd195d58d2_f0314be8a65f6138bf8cd93852c517bd195d58d2/report/index.html

@doris-robot
Copy link

TPC-DS: Total hot run time: 191466 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 f0314be8a65f6138bf8cd93852c517bd195d58d2, data reload: false

query1	1341	962	923	923
query2	6306	2115	2025	2025
query3	11130	4484	4508	4484
query4	33015	23577	23431	23431
query5	3917	625	450	450
query6	283	207	197	197
query7	3980	486	305	305
query8	307	242	228	228
query9	9284	2696	2677	2677
query10	478	317	247	247
query11	17959	15114	14988	14988
query12	168	105	100	100
query13	1548	494	386	386
query14	9838	6298	6888	6298
query15	231	199	197	197
query16	7861	647	496	496
query17	1582	738	575	575
query18	2032	395	294	294
query19	196	184	162	162
query20	136	123	116	116
query21	209	125	104	104
query22	4656	4515	4284	4284
query23	34450	33581	33497	33497
query24	6505	2308	2292	2292
query25	488	458	387	387
query26	735	277	155	155
query27	2026	474	330	330
query28	5451	2503	2461	2461
query29	614	535	436	436
query30	212	187	160	160
query31	970	893	855	855
query32	71	66	66	66
query33	534	400	305	305
query34	774	862	509	509
query35	834	858	742	742
query36	1023	1058	987	987
query37	125	105	86	86
query38	4169	4197	4264	4197
query39	1510	1457	1450	1450
query40	214	128	113	113
query41	58	56	56	56
query42	123	107	108	107
query43	532	533	501	501
query44	1412	831	833	831
query45	188	177	172	172
query46	869	1057	670	670
query47	1877	1906	1846	1846
query48	396	413	332	332
query49	731	514	435	435
query50	631	692	424	424
query51	4263	4247	4265	4247
query52	111	109	96	96
query53	230	251	193	193
query54	492	517	417	417
query55	87	79	79	79
query56	252	265	254	254
query57	1200	1197	1181	1181
query58	259	253	244	244
query59	3231	3306	3122	3122
query60	274	272	252	252
query61	117	116	110	110
query62	769	741	705	705
query63	236	191	189	189
query64	3138	1002	672	672
query65	3448	3257	3260	3257
query66	1012	413	294	294
query67	16214	15536	15380	15380
query68	5120	831	528	528
query69	507	289	265	265
query70	1204	1045	1131	1045
query71	401	280	263	263
query72	5339	3792	3814	3792
query73	638	738	372	372
query74	10395	9125	9051	9051
query75	3176	3127	2616	2616
query76	3139	1181	767	767
query77	457	359	283	283
query78	10085	10031	9390	9390
query79	2931	812	606	606
query80	1462	526	466	466
query81	547	269	244	244
query82	361	148	115	115
query83	203	179	153	153
query84	241	84	70	70
query85	801	342	300	300
query86	478	327	305	305
query87	4426	4483	4307	4307
query88	4898	2174	2173	2173
query89	399	331	288	288
query90	1859	192	194	192
query91	132	142	109	109
query92	68	57	51	51
query93	2851	876	538	538
query94	724	398	305	305
query95	335	266	261	261
query96	485	669	285	285
query97	2780	2863	2806	2806
query98	230	193	192	192
query99	1268	1370	1267	1267
Total cold run time: 287252 ms
Total hot run time: 191466 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.07	0.03	0.03
query3	0.24	0.07	0.06
query4	1.62	0.11	0.10
query5	0.42	0.43	0.40
query6	1.17	0.66	0.67
query7	0.02	0.02	0.02
query8	0.04	0.03	0.04
query9	0.58	0.49	0.50
query10	0.54	0.56	0.55
query11	0.15	0.10	0.11
query12	0.14	0.11	0.10
query13	0.60	0.60	0.59
query14	2.80	2.73	2.72
query15	0.89	0.83	0.83
query16	0.38	0.37	0.38
query17	1.06	1.05	1.02
query18	0.24	0.20	0.19
query19	1.97	1.86	2.00
query20	0.01	0.01	0.02
query21	15.37	0.98	0.60
query22	0.75	0.82	0.75
query23	15.20	1.41	0.61
query24	3.07	1.20	1.69
query25	0.18	0.19	0.05
query26	0.23	0.14	0.14
query27	0.05	0.04	0.06
query28	14.39	1.04	0.44
query29	12.58	4.03	3.33
query30	0.25	0.08	0.06
query31	3.61	0.62	0.40
query32	3.24	0.56	0.47
query33	3.02	3.03	2.99
query34	16.47	5.10	4.51
query35	4.67	4.48	4.51
query36	0.63	0.49	0.49
query37	0.10	0.06	0.06
query38	0.05	0.04	0.03
query39	0.04	0.03	0.02
query40	0.16	0.12	0.12
query41	0.08	0.03	0.02
query42	0.04	0.03	0.02
query43	0.04	0.04	0.03
Total cold run time: 107.19 s
Total hot run time: 31.02 s

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 23, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@yiguolei yiguolei added the p0_b label Jan 23, 2025
@yiguolei yiguolei merged commit 3d6de85 into apache:master Jan 23, 2025
26 of 28 checks passed
jacktengg pushed a commit to jacktengg/incubator-doris that referenced this pull request Feb 8, 2025
…ize when EOF. (apache#47312)

apache#41602
EOF clears _instance_to_package_queue but does not update
total_queue_size, causing incorrect judgments that rely on
total_queue_size.

UT

```
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size :
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3
```
jacktengg added a commit that referenced this pull request Feb 8, 2025
…ize when EOF. (#47312) (#47621)

#41602
EOF clears _instance_to_package_queue but does not update
total_queue_size, causing incorrect judgments that rely on
total_queue_size.

UT

```
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size :
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3
```

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] 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:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#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 -->

Co-authored-by: Mryange <yanxuecheng@selectdb.com>
yiguolei pushed a commit that referenced this pull request Feb 9, 2025
…ize when EOF. (#47322)

### What problem does this PR solve?
pick part from #47312


#41602
EOF clears _instance_to_package_queue but does not update
total_queue_size, causing incorrect judgments that rely on
total_queue_size.

UT

```
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size : 
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size 
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3
```
lzyy2024 pushed a commit to lzyy2024/doris that referenced this pull request Feb 21, 2025
…ize when EOF. (apache#47312)

### What problem does this PR solve?

apache#41602
EOF clears _instance_to_package_queue but does not update
total_queue_size, causing incorrect judgments that rely on
total_queue_size.

UT

```
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size : 
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size 
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3
```
koarz pushed a commit to koarz/doris that referenced this pull request Jun 4, 2025
…ize when EOF. (apache#47312)

### What problem does this PR solve?

apache#41602
EOF clears _instance_to_package_queue but does not update
total_queue_size, causing incorrect judgments that rely on
total_queue_size.

UT

```
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :2
mock transmit_blockv2 dest ins id :3
queue size : 6
each queue size : 
Instance: 2, queue size: 2
Instance: 1, queue size: 2
Instance: 3, queue size: 2

queue size : 6 // error size 
each queue size :
Instance: 2, queue size: 0
Instance: 1, queue size: 2
Instance: 3, queue size: 2

mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :1
mock transmit_blockv2 dest ins id :3
mock transmit_blockv2 dest ins id :3
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.0.4-merged p0_b reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants