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

[PR] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   ## Proposed changes
   
   If an empty rowset be cooldowned in the original code , it will not write the cooldown meta to S3, which can lead to the following scenario:
   follower replica version: [0-10][11-12]
   cooldown replica version: [0-10][11][12]
   Assuming [12] is an empty rowset, the cooldown replica has already cooled down to version 12, but the cooldown version in the S3 meta is 11. As a result, the follower cannot synchronize due to the lack of version [12]. Only after the cooldown replica performs a ColdDataCompaction to ensure that the data size of [x-12] is > 0, then the follower will be able to synchronize successfully.
   
   ## 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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 44.12 seconds
    stream load tsv:          575 seconds loaded 74807831229 Bytes, about 124 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 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.2 seconds inserted 10000000 Rows, about 354K ops/s
    storage size: 17221015039 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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 44edc6b8668611da93f1b37051b1de31be20ce07, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4698	4470	4498	4470
   q2	376	137	159	137
   q3	1465	1251	1251	1251
   q4	1124	916	873	873
   q5	3179	3163	3155	3155
   q6	244	130	129	129
   q7	1001	486	473	473
   q8	2204	2236	2213	2213
   q9	6687	6693	6701	6693
   q10	3251	3250	3282	3250
   q11	332	199	197	197
   q12	349	214	203	203
   q13	4543	3798	3793	3793
   q14	241	214	212	212
   q15	559	526	519	519
   q16	447	385	391	385
   q17	1011	625	516	516
   q18	7157	7016	7006	7006
   q19	1533	1409	1390	1390
   q20	515	286	324	286
   q21	3081	2641	2648	2641
   q22	345	280	284	280
   Total cold run time: 44342 ms
   Total hot run time: 40072 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4397	4622	4409	4409
   q2	269	160	172	160
   q3	3549	3545	3520	3520
   q4	2383	2395	2385	2385
   q5	5743	5733	5743	5733
   q6	239	121	120	120
   q7	2385	1854	1860	1854
   q8	3539	3553	3533	3533
   q9	9073	8981	9044	8981
   q10	3929	4002	3991	3991
   q11	510	392	404	392
   q12	774	626	603	603
   q13	4295	3575	3557	3557
   q14	286	248	256	248
   q15	571	517	522	517
   q16	510	434	461	434
   q17	1887	1837	1853	1837
   q18	8682	8118	8239	8118
   q19	1732	1777	1743	1743
   q20	2277	1955	1931	1931
   q21	6523	6210	6195	6195
   q22	495	461	417	417
   Total cold run time: 64048 ms
   Total hot run time: 60678 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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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

   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] [Bug](cooldown) Fix problem that followers may never completely cooldown [doris]

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


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