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

   ## Proposed changes
   
   session1:
   1. begin a transaction insert
   2. do some inserts
   
   session2:
   3. do schema change
   
   session1:
   4. do some inserts
   5. commit
   when commit, we get:
   
   ```
   [ANALYSIS_ERROR]TStatus: errCode = 2, detailMessage = Failed to commit txn 
3, cause tablet 10106 succ replica num 0 < load required replica num 1. table 
10099, partition: [ id=10098, commit version 2, visible version 2 ], this 
tablet detail: 1 replicas write data failed: { [replicaId=10107, 
backendId=10002, backendAlive=true, version=1, state=ALTER] }; 
   
           0#  doris::Status doris::Status::Error<true>(int, 
std::basic_string_view<char, std::char_traits<char> >) at 
/mnt/disk2/meiyi/clion_workspace/doris_master2/be/src/common/status.h:401
           1#  doris::Status doris::Status::create<true>(doris::TStatus const&) 
at /mnt/disk2/meiyi/clion_workspace/doris_master2/be/src/common/status.h:357
           2#  doris::StreamLoadExecutor::commit_txn(doris::StreamLoadContext*) 
at 
/mnt/disk2/meiyi/clion_workspace/doris_master2/be/src/runtime/stream_load/stream_load_executor.cpp:347
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) 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: [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