You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "kaijchen (via GitHub)" <gi...@apache.org> on 2023/12/27 09:23:25 UTC

[PR] [fix](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   ## Proposed changes
   
   We shouldn't clear `_streams_for_node` until we release it,
   otherwise there will be a memory leak.
   
   ## 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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   TeamCity be ut coverage result:
    Function Coverage: 36.59% (8582/23454) 
    Line Coverage: 28.65% (69750/243438)
    Region Coverage: 27.62% (36048/130509)
    Branch Coverage: 24.35% (18417/75644)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/4331486517fb14c639f4f43bf387b82fd6220c70_4331486517fb14c639f4f43bf387b82fd6220c70/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


Re: [PR] [fix](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 47.65 seconds
    stream load tsv:          566 seconds loaded 74807831229 Bytes, about 126 MB/s
    stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
    stream load orc:          66 seconds loaded 1101869774 Bytes, about 15 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
    storage size: 17183765810 Bytes


-- 
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](move-memtable) fix streams for node memory leak in sink v2 [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 4331486517fb14c639f4f43bf387b82fd6220c70, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4986	4638	4649	4638
   q2	359	165	160	160
   q3	1452	1262	1201	1201
   q4	1129	949	916	916
   q5	3186	3162	3167	3162
   q6	247	127	127	127
   q7	1026	494	500	494
   q8	2290	2261	2252	2252
   q9	6732	6705	6699	6699
   q10	3196	3260	3253	3253
   q11	321	210	199	199
   q12	347	199	202	199
   q13	4128	3405	3403	3403
   q14	240	214	221	214
   q15	578	515	538	515
   q16	442	382	381	381
   q17	1053	798	586	586
   q18	7094	6887	6850	6850
   q19	1628	1632	1653	1632
   q20	557	301	321	301
   q21	3160	2722	2700	2700
   q22	370	312	306	306
   Total cold run time: 44521 ms
   Total hot run time: 40188 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4571	4570	4534	4534
   q2	270	167	169	167
   q3	3381	3364	3359	3359
   q4	2224	2200	2209	2200
   q5	5743	5723	5720	5720
   q6	242	118	118	118
   q7	2372	1879	1861	1861
   q8	3610	3618	3618	3618
   q9	9011	8910	8983	8910
   q10	3821	3877	3900	3877
   q11	485	353	363	353
   q12	759	601	616	601
   q13	3903	3167	3148	3148
   q14	293	252	259	252
   q15	568	517	523	517
   q16	501	448	477	448
   q17	1963	1963	1928	1928
   q18	8681	8127	8282	8127
   q19	1759	1774	1765	1765
   q20	2237	1947	1934	1934
   q21	6157	5743	5755	5743
   q22	547	455	470	455
   Total cold run time: 63098 ms
   Total hot run time: 59635 ms
   ```
   


-- 
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](move-memtable) fix load stream stub leak in sink v2 [doris]

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


-- 
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