JinYu-WFG opened a new issue, #56438:
URL: https://github.com/apache/doris/issues/56438

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.1.10(3FE+3BE)
   
   ### What's Wrong?
   
   The Apache-Doris 2.1.10 client uses stream load to aggregate cdc data into 
doris. Currently, the fe transaction card is in the prepare stage.(I haven't 
enabled two-phase submission. If I do, the same phenomenon will occur)
   This is the log related to fe:
   2025-09-25 13:32:14,939 INFO (qtp1100176029-299|299) 
[LoadAction.executeWithoutPassword():319] redirect load action to 
destination=TNetworkAddress(hostname:192.168.101.112, port:8040), stream: true, 
db: ods, tbl: ods_erp_product_order2_product_ship_rt, label: 
cdc_current_time_ods_ods_erp_product_order2_product_ship_rt_1023463421879779329_0_1758778334935
   2025-09-25 13:32:14,941 INFO (thrift-server-pool-19|492) 
[DatabaseTransactionMgr.beginTransaction():396] begin transaction: txn id 
5163687 with label 
cdc_current_time_ods_ods_erp_product_order2_product_ship_rt_1023463421879779329_0_1758778334935
 from coordinator BE: 192.168.101.112, listener id: -1
   This is be's log:
   I20250925 13:32:14.940629 454659 stream_load.cpp:208] new income streaming 
load request.id=fa48a68470763b16-21b74d363cb2c281, job_id=-1, txn_id=-1, 
label=cdc_current_time_ods_ods_erp_product_order2_product_ship_rt_1023463421879779329_0_1758778334935,
 elapse(s)=0, db=ods, tbl=ods_erp_product_order2_product_ship_rt, group_commit=0
   I20250925 13:32:14.941843 454659 stream_load_executor.cpp:72] begin to 
execute stream load. 
label=cdc_current_time_ods_ods_erp_product_order2_product_ship_rt_1023463421879779329_0_1758778334935,
 txn_id=5163687, query_id=fa48a68470763b16-21b74d363cb2c281
   I20250925 13:32:14.942013 454659 stream_load.cpp:214] finished to handle 
HTTP header, id=fa48a68470763b16-21b74d363cb2c281, job_id=-1, txn_id=5163687, 
label=cdc_current_time_ods_ods_erp_product_order2_product_ship_rt_1023463421879779329_0_1758778334935,
 elapse(s)=0
   I20250925 13:32:14.944235 455788 tablets_channel.cpp:165] txn 5163687: 
TabletsChannel of index 5385938 init senders 1 with incremental off
   
   Why is the log of be stuck all the time:'TabletsChannel of index 5385938 
init senders 1 with incremental off'
   And I use 'SHOW TABLET 5385938; The query result is:
   
   <img width="1773" height="68" alt="Image" 
src="https://github.com/user-attachments/assets/caf1decd-af5c-4e64-892f-d410953d0da1";
 />
   detailCmd: SHOW PROC ### '/dbs/-1/-1/partitions/-1/-1/5385938';
   
   
   
   
   
   ### What You Expected?
   
   I hope to aggregate the cdc data into doris through streamload, and there 
won't be any fe transactions getting stuck in the prepare phase all the time
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to