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

[PR] [fix](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

zhiqiang-hhhh opened a new pull request, #29076:
URL: https://github.com/apache/doris/pull/29076

   Test in regression-test/suites/datatype_p0/decimalv3/test_decimalv3_overflow.groovy::249 sometimes failed when there are multiple BEs and FE process report status slowly for some reason.
   
   ```
   explain select k1, k2, k1 * k2 from test_decimal128_overflow2 order by 1,2,3
   --------------
   
   +----------------------------------------------------------------------------------------------------------------------------+
   | Explain String(Nereids Planner)                                                                                            |
   +----------------------------------------------------------------------------------------------------------------------------+
   | PLAN FRAGMENT 0                                                                                                            |
   |   OUTPUT EXPRS:                                                                                                            |
   |     k1[#5]                                                                                                                 |
   |     k2[#6]                                                                                                                 |
   |     (k1 * k2)[#7]                                                                                                          |
   |   PARTITION: UNPARTITIONED                                                                                                 |
   |                                                                                                                            |
   |   HAS_COLO_PLAN_NODE: false                                                                                                |
   |                                                                                                                            |
   |   VRESULT SINK                                                                                                             |
   |      MYSQL_PROTOCAL                                                                                                        |
   |                                                                                                                            |
   |   111:VMERGING-EXCHANGE                                                                                                    |
   |      offset: 0                                                                                                             |
   |                                                                                                                            |
   | PLAN FRAGMENT 1                                                                                                            |
   |                                                                                                                            |
   |   PARTITION: HASH_PARTITIONED: k1[#0], k2[#1]                                                                              |
   |                                                                                                                            |
   |   HAS_COLO_PLAN_NODE: false                                                                                                |
   |                                                                                                                            |
   |   STREAM DATA SINK                                                                                                         |
   |     EXCHANGE ID: 111                                                                                                       |
   |     UNPARTITIONED                                                                                                          |
   |                                                                                                                            |
   |   108:VSORT                                                                                                                |
   |   |  order by: k1[#5] ASC, k2[#6] ASC, (k1 * k2)[#7] ASC                                                                   |
   |   |  offset: 0                                                                                                             |
   |   |                                                                                                                        |
   |   102:VOlapScanNode                                                                                                        |
   |      TABLE: regression_test_datatype_p0_decimalv3.test_decimal128_overflow2(test_decimal128_overflow2), PREAGGREGATION: ON |
   |      partitions=1/1 (test_decimal128_overflow2), tablets=8/8, tabletList=22841,22843,22845 ...                             |
   |      cardinality=6, avgRowSize=0.0, numNodes=1                                                                             |
   |      pushAggOp=NONE                                                                                                        |
   |      projections: k1[#0], k2[#1], (k1[#0] * k2[#1])                                                                        |
   |      project output tuple id: 1                                                                                            |
   +----------------------------------------------------------------------------------------------------------------------------+
   36 rows in set (0.03 sec)
   ```
   Why failed:
   1. Multiple BEs
   2. Fragments 0 and 1 are MUST on different BEs
   3. Pipeline task of VOlapScanNode which executes k1*k2 failed sets query status to cancelled
   4. Pipeline task of VSort call try close, send Cancelled status to VMergeExchange
   5. sort_curso did not throw exception when it meets error


-- 
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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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


-- 
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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   TeamCity be ut coverage result:
    Function Coverage: 36.57% (8556/23399) 
    Line Coverage: 28.63% (69593/243049)
    Region Coverage: 27.64% (35985/130190)
    Branch Coverage: 24.37% (18390/75476)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/8e1a7c4f6acd837712dc3e1cdbb916628264571a_8e1a7c4f6acd837712dc3e1cdbb916628264571a/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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 44.86 seconds
    stream load tsv:          571 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:          20.8 seconds inserted 10000000 Rows, about 480K ops/s
    storage size: 17184000430 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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 8e1a7c4f6acd837712dc3e1cdbb916628264571a, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4751	4510	4459	4459
   q2	368	148	138	138
   q3	1471	1328	1239	1239
   q4	1149	959	919	919
   q5	3181	3173	3200	3173
   q6	261	135	131	131
   q7	1034	496	487	487
   q8	2263	2276	2250	2250
   q9	6751	6725	6671	6671
   q10	3242	3284	3272	3272
   q11	324	213	208	208
   q12	357	213	212	212
   q13	4537	3801	3764	3764
   q14	244	214	209	209
   q15	570	524	519	519
   q16	444	376	383	376
   q17	1056	811	611	611
   q18	7059	6921	6757	6757
   q19	1570	1598	1598	1598
   q20	521	313	318	313
   q21	3297	2825	2757	2757
   q22	369	301	313	301
   Total cold run time: 44819 ms
   Total hot run time: 40364 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4431	4411	4398	4398
   q2	271	163	164	163
   q3	3505	3498	3510	3498
   q4	2444	2417	2425	2417
   q5	5729	5708	5729	5708
   q6	250	127	126	126
   q7	2396	1874	1874	1874
   q8	3609	3622	3614	3614
   q9	9050	9012	9002	9002
   q10	3925	4022	4030	4022
   q11	479	370	365	365
   q12	785	590	610	590
   q13	4277	3600	3546	3546
   q14	290	258	255	255
   q15	572	522	521	521
   q16	489	469	445	445
   q17	1974	1968	1953	1953
   q18	8640	8217	8118	8118
   q19	1827	1820	1830	1820
   q20	2259	1948	1929	1929
   q21	6821	6251	6242	6242
   q22	563	465	472	465
   Total cold run time: 64586 ms
   Total hot run time: 61071 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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   fix on https://github.com/apache/doris/pull/28669


-- 
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](pipeline) sort_merge should throw exception in has_next_block if got failed status [doris]

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

   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