You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "xinyiZzz (via GitHub)" <gi...@apache.org> on 2024/03/29 12:07:16 UTC

[PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

xinyiZzz opened a new pull request, #33048:
URL: https://github.com/apache/doris/pull/33048

   ## Proposed changes
   
   1. Check failed: !doris::config::enable_memory_orphan_check || doris::thread_context()->thread_mem_tracker()->label() != "Orphan"
   ```
   9# doris::MemTable::MemTable(long, doris::TabletSchema const*, std::vector<doris::SlotDescriptor*, std::allocator<doris::SlotDescriptor*> > const*, doris::TupleDescriptor*, bool, doris::PartialUpdateInfo*, std::shared_ptr<doris::MemTracker> const&, std::shared_ptr<doris::MemTracker> const&) at /root/doris/be/src/olap/memtable.cpp:69
   [16:40:35 ](http://43.132.222.7:8111/buildConfiguration/Doris_DorisRegression_CloudP0/387577?buildTab=log&linesState=26285&logView=flowAware&focusLine=26285)  10# doris::MemTableWriter::_reset_mem_table() at /root/doris/be/src/olap/memtable_writer.cpp:217
   [16:40:35 ](http://43.132.222.7:8111/buildConfiguration/Doris_DorisRegression_CloudP0/387577?buildTab=log&linesState=26286&logView=flowAware&focusLine=26286)  11# doris::MemTableWriter::init(std::shared_ptr<doris::RowsetWriter>, std::shared_ptr<doris::TabletSchema>, std::shared_ptr<doris::PartialUpdateInfo>, doris::ThreadPool*, bool) in /home/work/unlimit_teamcity/TeamCity/Agents/20240329151037agent_172.16.0.157_1/work/60183217f6ee2a9c/output/be/lib/doris_be
   [16:40:35 ](http://43.132.222.7:8111/buildConfiguration/Doris_DorisRegression_CloudP0/387577?buildTab=log&linesState=26287&logView=flowAware&focusLine=26287)  12# doris::BaseDeltaWriter::init() at /root/doris/be/src/olap/delta_writer.cpp:106
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027168076

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027230353

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 29.4 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit aa317f5b83a5e39b528c4bce58701cac8579eaf5, data reload: false
   
   query1	0.04	0.03	0.03
   query2	0.08	0.03	0.03
   query3	0.23	0.05	0.05
   query4	1.66	0.08	0.09
   query5	0.49	0.49	0.49
   query6	1.14	0.66	0.65
   query7	0.02	0.02	0.01
   query8	0.05	0.04	0.04
   query9	0.56	0.49	0.50
   query10	0.56	0.55	0.53
   query11	0.14	0.09	0.11
   query12	0.14	0.11	0.11
   query13	0.59	0.59	0.58
   query14	0.75	0.80	0.79
   query15	0.82	0.82	0.81
   query16	0.38	0.37	0.40
   query17	0.99	0.98	1.00
   query18	0.23	0.24	0.24
   query19	1.86	1.68	1.71
   query20	0.02	0.01	0.01
   query21	15.53	0.64	0.62
   query22	2.54	2.79	1.58
   query23	17.28	1.01	0.87
   query24	1.15	0.24	0.20
   query25	0.09	0.08	0.08
   query26	0.25	0.17	0.17
   query27	0.07	0.08	0.08
   query28	14.02	0.93	0.93
   query29	12.50	3.17	3.16
   query30	0.30	0.08	0.10
   query31	2.82	0.37	0.37
   query32	3.29	0.45	0.45
   query33	2.83	2.85	2.84
   query34	16.84	4.43	4.52
   query35	4.52	4.49	4.45
   query36	0.59	0.46	0.46
   query37	0.18	0.15	0.15
   query38	0.15	0.14	0.14
   query39	0.06	0.03	0.03
   query40	0.17	0.14	0.14
   query41	0.09	0.04	0.05
   query42	0.05	0.06	0.04
   query43	0.04	0.03	0.04
   Total cold run time: 106.11 s
   Total hot run time: 29.4 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027233750

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit aa317f5b83a5e39b528c4bce58701cac8579eaf5 with default session variables
   Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      33 seconds loaded 861443392 Bytes, about 24 MB/s
   Insert into select:       13.7 seconds inserted 10000000 Rows, about 729K ops/s
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "xinyiZzz (via GitHub)" <gi...@apache.org>.
xinyiZzz commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027163027

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027166281

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring merged PR #33048:
URL: https://github.com/apache/doris/pull/33048


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027207673

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 38299 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit aa317f5b83a5e39b528c4bce58701cac8579eaf5, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17610	4711	4257	4257
   q2	2084	203	188	188
   q3	10430	1129	1164	1129
   q4	10186	740	779	740
   q5	7438	2786	2706	2706
   q6	215	133	132	132
   q7	1031	612	627	612
   q8	9209	2059	2024	2024
   q9	7490	6556	6500	6500
   q10	8600	3550	3521	3521
   q11	477	257	243	243
   q12	479	220	219	219
   q13	18932	2941	2958	2941
   q14	273	229	242	229
   q15	529	468	463	463
   q16	522	394	384	384
   q17	968	565	595	565
   q18	7343	6739	6603	6603
   q19	4135	1457	1447	1447
   q20	661	312	306	306
   q21	3546	2788	2886	2788
   q22	357	302	310	302
   Total cold run time: 112515 ms
   Total hot run time: 38299 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	4306	4222	4192	4192
   q2	379	268	261	261
   q3	2952	2717	2727	2717
   q4	1890	1558	1496	1496
   q5	5257	5216	5263	5216
   q6	213	124	126	124
   q7	2219	1880	1864	1864
   q8	3188	3283	3302	3283
   q9	8588	8552	8568	8552
   q10	4013	3840	3875	3840
   q11	583	500	484	484
   q12	838	642	614	614
   q13	17853	3242	3165	3165
   q14	323	284	289	284
   q15	512	496	478	478
   q16	492	449	446	446
   q17	1799	1524	1473	1473
   q18	8192	7917	7685	7685
   q19	1680	1531	1529	1529
   q20	1998	1832	1846	1832
   q21	5307	5040	5024	5024
   q22	544	470	463	463
   Total cold run time: 73126 ms
   Total hot run time: 55022 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027166247

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027162766

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027225616

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 184000 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit aa317f5b83a5e39b528c4bce58701cac8579eaf5, data reload: false
   
   query1	894	1127	1113	1113
   query2	6991	2081	1961	1961
   query3	6658	215	210	210
   query4	24340	21316	21259	21259
   query5	4264	414	401	401
   query6	269	185	180	180
   query7	4606	297	304	297
   query8	226	183	180	180
   query9	8409	2290	2291	2290
   query10	413	240	239	239
   query11	16416	14238	14257	14238
   query12	136	93	89	89
   query13	1630	375	390	375
   query14	8821	7767	7322	7322
   query15	219	176	177	176
   query16	7213	272	265	265
   query17	1857	595	565	565
   query18	1812	292	287	287
   query19	199	166	162	162
   query20	93	84	86	84
   query21	197	131	134	131
   query22	4970	4912	4830	4830
   query23	33243	32680	32949	32680
   query24	10648	2874	2859	2859
   query25	605	409	384	384
   query26	704	153	160	153
   query27	2441	372	374	372
   query28	5762	1949	1929	1929
   query29	860	624	623	623
   query30	303	163	158	158
   query31	986	736	736	736
   query32	90	58	57	57
   query33	600	270	260	260
   query34	894	506	501	501
   query35	838	727	714	714
   query36	1067	948	930	930
   query37	113	81	71	71
   query38	3768	3626	3666	3626
   query39	1672	1613	1591	1591
   query40	202	142	141	141
   query41	50	49	49	49
   query42	115	100	112	100
   query43	518	470	473	470
   query44	1118	746	758	746
   query45	281	273	288	273
   query46	1116	757	741	741
   query47	2067	1947	1941	1941
   query48	406	318	307	307
   query49	899	391	371	371
   query50	819	400	408	400
   query51	7059	6928	6887	6887
   query52	122	101	102	101
   query53	373	302	301	301
   query54	319	248	248	248
   query55	86	83	79	79
   query56	256	241	241	241
   query57	1294	1179	1226	1179
   query58	240	223	216	216
   query59	3079	2814	2850	2814
   query60	260	250	247	247
   query61	113	108	108	108
   query62	627	441	438	438
   query63	313	278	284	278
   query64	5072	4137	4127	4127
   query65	3089	3050	3048	3048
   query66	765	340	326	326
   query67	15552	15070	14787	14787
   query68	9918	539	562	539
   query69	595	308	310	308
   query70	1529	1179	1189	1179
   query71	543	271	280	271
   query72	7375	2623	2472	2472
   query73	1649	320	325	320
   query74	6803	6377	6375	6375
   query75	4776	2347	2363	2347
   query76	5720	1020	1079	1020
   query77	588	258	253	253
   query78	11014	10216	10187	10187
   query79	12173	528	519	519
   query80	2468	426	415	415
   query81	509	224	220	220
   query82	233	87	87	87
   query83	219	167	166	166
   query84	265	79	83	79
   query85	925	266	266	266
   query86	355	307	287	287
   query87	3762	3513	3516	3513
   query88	6050	2413	2401	2401
   query89	489	379	373	373
   query90	2414	181	176	176
   query91	123	97	98	97
   query92	62	50	45	45
   query93	7029	510	518	510
   query94	1580	181	181	181
   query95	414	311	309	309
   query96	600	274	275	274
   query97	2661	2494	2505	2494
   query98	230	221	213	213
   query99	1024	862	842	842
   Total cold run time: 305532 ms
   Total hot run time: 184000 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](memory) Fix CloudDeltaWriter init attach task in thread context [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33048:
URL: https://github.com/apache/doris/pull/33048#issuecomment-2027189741

   TeamCity be ut coverage result:
    Function Coverage: 35.55% (8840/24863) 
    Line Coverage: 27.29% (72484/265579)
    Region Coverage: 26.50% (37514/141549)
    Branch Coverage: 23.31% (19128/82052)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/aa317f5b83a5e39b528c4bce58701cac8579eaf5_aa317f5b83a5e39b528c4bce58701cac8579eaf5/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org