Skip to content

[feature](recycle-bin) support three-phase retention for recycle bin#61504

Draft
xuchenhao wants to merge 3 commits intoapache:masterfrom
HYDCP:recycle-bin-three-phase-retention
Draft

[feature](recycle-bin) support three-phase retention for recycle bin#61504
xuchenhao wants to merge 3 commits intoapache:masterfrom
HYDCP:recycle-bin-three-phase-retention

Conversation

@xuchenhao
Copy link
Contributor

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

@xuchenhao xuchenhao closed this Mar 19, 2026
@xuchenhao xuchenhao reopened this Mar 19, 2026
@xuchenhao xuchenhao marked this pull request as draft March 19, 2026 03:30
@xuchenhao
Copy link
Contributor Author

run buildall

@xuchenhao xuchenhao force-pushed the recycle-bin-three-phase-retention branch from 683ce39 to 82ff193 Compare March 19, 2026 05:34
@xuchenhao
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 78.63% (1796/2284)
Line Coverage 64.40% (32284/50130)
Region Coverage 65.29% (16166/24760)
Branch Coverage 55.69% (8608/15456)

@xuchenhao
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 78.63% (1796/2284)
Line Coverage 64.39% (32278/50130)
Region Coverage 65.29% (16166/24760)
Branch Coverage 55.73% (8614/15456)

@doris-robot
Copy link

TPC-H: Total hot run time: 26940 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 3b68b8581f12da33a6d1756c65dbfedc2446d049, 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	17618	4582	4369	4369
q2	q3	10716	838	519	519
q4	4729	357	247	247
q5	8020	1224	1023	1023
q6	212	172	147	147
q7	811	861	664	664
q8	10352	1521	1316	1316
q9	6407	4846	4758	4758
q10	6479	1923	1652	1652
q11	508	246	243	243
q12	748	585	463	463
q13	18079	2936	2195	2195
q14	232	241	218	218
q15	q16	749	753	661	661
q17	741	844	446	446
q18	6354	5463	5228	5228
q19	1190	983	617	617
q20	542	504	390	390
q21	4767	2068	1531	1531
q22	377	345	253	253
Total cold run time: 99631 ms
Total hot run time: 26940 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	4729	4739	4609	4609
q2	q3	3865	4347	3807	3807
q4	857	1232	764	764
q5	4098	4383	4349	4349
q6	202	198	152	152
q7	1821	1733	1530	1530
q8	2488	2704	2579	2579
q9	7640	7474	7394	7394
q10	3832	3964	3624	3624
q11	520	442	418	418
q12	480	592	442	442
q13	2933	3224	2345	2345
q14	299	305	269	269
q15	q16	705	757	722	722
q17	1176	1419	1602	1419
q18	7236	6753	6728	6728
q19	901	924	930	924
q20	2106	2127	1981	1981
q21	3978	3473	3334	3334
q22	481	421	368	368
Total cold run time: 50347 ms
Total hot run time: 47758 ms

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 59.72% (43/72) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

TPC-DS: Total hot run time: 168453 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 3b68b8581f12da33a6d1756c65dbfedc2446d049, data reload: false

query5	4338	639	503	503
query6	337	236	214	214
query7	4218	474	264	264
query8	363	252	234	234
query9	8745	2716	2695	2695
query10	488	362	351	351
query11	6974	5115	4854	4854
query12	187	136	133	133
query13	1292	463	352	352
query14	5612	3666	3429	3429
query14_1	2813	2783	2826	2783
query15	211	192	184	184
query16	967	502	457	457
query17	895	778	630	630
query18	2452	453	364	364
query19	219	218	186	186
query20	133	129	129	129
query21	212	140	107	107
query22	13219	14028	14349	14028
query23	16406	15899	15621	15621
query23_1	15823	15767	15719	15719
query24	7237	1605	1208	1208
query24_1	1239	1220	1222	1220
query25	641	464	409	409
query26	1246	278	143	143
query27	2759	490	297	297
query28	4480	1841	1850	1841
query29	844	570	472	472
query30	297	231	187	187
query31	998	928	877	877
query32	82	69	70	69
query33	506	330	277	277
query34	897	876	523	523
query35	628	670	602	602
query36	1100	1123	952	952
query37	129	99	79	79
query38	2951	2909	2892	2892
query39	843	837	810	810
query39_1	798	800	778	778
query40	234	154	135	135
query41	62	59	59	59
query42	262	254	254	254
query43	236	257	221	221
query44	
query45	198	189	184	184
query46	890	1082	601	601
query47	2122	2175	2086	2086
query48	305	326	232	232
query49	638	459	378	378
query50	683	271	208	208
query51	4042	4073	4049	4049
query52	261	266	260	260
query53	289	337	284	284
query54	308	278	264	264
query55	93	92	83	83
query56	326	339	323	323
query57	1963	1762	1668	1668
query58	288	272	274	272
query59	2755	2987	2770	2770
query60	355	345	330	330
query61	160	156	162	156
query62	652	574	533	533
query63	310	275	277	275
query64	5159	1275	1006	1006
query65	
query66	1453	470	362	362
query67	24176	24222	24170	24170
query68	
query69	397	318	293	293
query70	990	972	962	962
query71	344	310	300	300
query72	2854	2669	2508	2508
query73	546	569	326	326
query74	9636	9575	9411	9411
query75	2872	2744	2458	2458
query76	2295	1022	697	697
query77	369	375	307	307
query78	10933	11167	10413	10413
query79	1129	780	581	581
query80	1375	611	547	547
query81	540	258	222	222
query82	1018	155	120	120
query83	347	263	245	245
query84	298	117	93	93
query85	906	506	452	452
query86	409	310	303	303
query87	3217	3138	2982	2982
query88	3593	2667	2657	2657
query89	434	375	342	342
query90	2043	185	166	166
query91	169	164	139	139
query92	76	75	73	73
query93	947	855	498	498
query94	622	322	300	300
query95	606	341	329	329
query96	652	532	228	228
query97	2463	2491	2397	2397
query98	244	223	223	223
query99	1018	965	923	923
Total cold run time: 249867 ms
Total hot run time: 168453 ms

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