Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #47858

### What problem does this PR solve?

ldap template sometimes throw exception: 
```
org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name '/'
```
Explanation of Spring
```
Specify whether PartialResultException should be ignored in searches. AD servers typically have a problem with referrals. Normally a referral should be followed automatically, but this does not seem to work with AD servers. The problem manifests itself with a a PartialResultException being thrown when a referral is encountered by the server. Setting this property to true presents a workaround to this problem by causing PartialResultException to be ignored, so that the search method returns normally. Default value of this parameter is false.
```
@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?

@dataroaring dataroaring reopened this Feb 26, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17611	6697	6577	6577
q2	2054	173	183	173
q3	10615	1053	1136	1053
q4	10567	768	712	712
q5	7749	2815	2799	2799
q6	222	144	131	131
q7	987	627	612	612
q8	9365	1933	2021	1933
q9	6611	6358	6376	6358
q10	6992	2231	2269	2231
q11	463	249	263	249
q12	396	219	210	210
q13	17794	2965	3046	2965
q14	239	208	208	208
q15	498	465	476	465
q16	681	593	583	583
q17	973	536	606	536
q18	7180	6731	6826	6731
q19	1389	1108	1078	1078
q20	472	214	205	205
q21	4035	3192	3202	3192
q22	1086	996	976	976
Total cold run time: 107979 ms
Total hot run time: 39977 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6607	6548	6554	6548
q2	334	238	242	238
q3	2893	2772	2855	2772
q4	2028	1818	1787	1787
q5	5764	5737	5728	5728
q6	208	124	132	124
q7	2198	1781	1835	1781
q8	3316	3591	3530	3530
q9	9002	8798	8843	8798
q10	3543	3505	3483	3483
q11	578	491	487	487
q12	802	612	591	591
q13	9775	3232	3169	3169
q14	316	275	272	272
q15	521	466	473	466
q16	687	670	638	638
q17	1850	1613	1608	1608
q18	8250	7754	7741	7741
q19	1638	1537	1528	1528
q20	2098	1857	1882	1857
q21	5547	5285	5182	5182
q22	1122	1053	1050	1050
Total cold run time: 69077 ms
Total hot run time: 59378 ms

@doris-robot
Copy link

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

query1	1310	910	909	909
query2	6244	2091	2020	2020
query3	10850	4272	4374	4272
query4	61239	28821	23216	23216
query5	5180	463	439	439
query6	396	171	166	166
query7	5465	311	307	307
query8	303	230	219	219
query9	8565	2588	2581	2581
query10	450	282	258	258
query11	17444	15131	16021	15131
query12	165	104	103	103
query13	1421	451	435	435
query14	10884	7371	6790	6790
query15	211	177	180	177
query16	6798	508	491	491
query17	1149	603	593	593
query18	1712	332	308	308
query19	205	162	154	154
query20	116	115	113	113
query21	218	103	103	103
query22	4715	4584	4630	4584
query23	34491	34198	34061	34061
query24	6194	2938	2950	2938
query25	538	433	462	433
query26	658	172	176	172
query27	1827	352	358	352
query28	4099	2481	2450	2450
query29	716	478	436	436
query30	234	160	156	156
query31	997	816	855	816
query32	67	59	55	55
query33	438	285	287	285
query34	915	528	528	528
query35	856	725	730	725
query36	1090	971	957	957
query37	114	76	64	64
query38	4209	4094	4036	4036
query39	1559	1467	1453	1453
query40	201	102	104	102
query41	49	47	52	47
query42	119	98	100	98
query43	538	513	513	513
query44	1168	839	845	839
query45	186	173	165	165
query46	1135	725	741	725
query47	2036	1897	1975	1897
query48	472	389	383	383
query49	738	393	398	393
query50	850	430	421	421
query51	7353	7144	7098	7098
query52	105	93	92	92
query53	258	193	201	193
query54	604	461	460	460
query55	81	77	78	77
query56	284	249	254	249
query57	1300	1158	1167	1158
query58	213	199	198	198
query59	3200	2956	2969	2956
query60	279	248	249	248
query61	109	109	164	109
query62	780	664	688	664
query63	211	191	182	182
query64	1391	680	629	629
query65	3246	3201	3198	3198
query66	699	296	315	296
query67	16028	15638	15672	15638
query68	4245	574	551	551
query69	421	264	260	260
query70	1172	1058	1134	1058
query71	339	256	253	253
query72	6314	4084	3989	3989
query73	755	348	360	348
query74	10481	9031	8936	8936
query75	3378	2624	2611	2611
query76	1909	1057	1027	1027
query77	544	276	271	271
query78	10553	9624	9500	9500
query79	1121	594	580	580
query80	879	423	436	423
query81	517	243	236	236
query82	184	86	83	83
query83	160	141	144	141
query84	280	85	80	80
query85	925	299	294	294
query86	352	279	301	279
query87	4506	4332	4290	4290
query88	4071	2369	2380	2369
query89	414	293	286	286
query90	2065	186	188	186
query91	177	150	148	148
query92	61	49	48	48
query93	1956	539	529	529
query94	776	300	302	300
query95	359	266	260	260
query96	614	282	281	281
query97	3301	3162	3183	3162
query98	214	195	200	195
query99	1575	1310	1285	1285
Total cold run time: 312293 ms
Total hot run time: 196573 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.07	0.03	0.04
query3	0.24	0.07	0.06
query4	1.62	0.11	0.11
query5	0.54	0.52	0.52
query6	1.13	0.72	0.73
query7	0.02	0.02	0.01
query8	0.05	0.03	0.03
query9	0.57	0.51	0.49
query10	0.55	0.55	0.55
query11	0.14	0.10	0.11
query12	0.15	0.12	0.12
query13	0.62	0.58	0.60
query14	2.72	2.84	2.83
query15	0.92	0.82	0.83
query16	0.38	0.38	0.39
query17	0.98	1.04	1.06
query18	0.25	0.22	0.22
query19	1.89	1.87	2.01
query20	0.02	0.01	0.01
query21	15.36	0.61	0.58
query22	2.76	1.83	2.20
query23	16.85	1.13	0.86
query24	2.71	2.00	0.99
query25	0.11	0.24	0.12
query26	0.47	0.14	0.14
query27	0.05	0.04	0.04
query28	9.92	0.49	0.54
query29	12.53	3.26	3.26
query30	0.25	0.06	0.06
query31	2.86	0.40	0.38
query32	3.25	0.46	0.48
query33	3.00	2.99	3.02
query34	17.24	4.48	4.42
query35	4.54	4.58	4.56
query36	0.67	0.48	0.49
query37	0.10	0.06	0.07
query38	0.05	0.04	0.03
query39	0.04	0.02	0.03
query40	0.16	0.13	0.13
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 105.95 s
Total hot run time: 32.49 s

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@dataroaring dataroaring merged commit 18c9688 into branch-3.0 Feb 27, 2025
23 of 24 checks passed
@github-actions github-actions bot deleted the auto-pick-47858-branch-3.0 branch February 27, 2025 09:52
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.

5 participants