xiaobijuan2026 opened a new issue, #62057:
URL: https://github.com/apache/doris/issues/62057

   ### 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
   
   4.0.4
   
   ### What's Wrong?
   
   ### Search before asking
   
   - [x] I had searched in the existing issues and found no similar bug report.
   
   ### Version
   
   Observed on Doris 4.0 branch.
   
   ### What's Wrong?
   
   In Unique Key MoW / partial update workloads, a slow BE may receive 
`PUBLISH_VERSION` before its local `TabletsChannel::close()` fully finishes.
   
   At that time, the BE may still be in local close stages such as:
   - `wait_flush`
   - `build_rowset`
   - delete bitmap related work
   - `commit_txn`
   
   As a result, `EnginePublishVersionTask` may see:
   
   ```cpp
   txn_manager()->get_txn_related_tablets(transaction_id, partition_id, 
&tablet_related_rs)
   
   
   ### What You Expected?
   
   ### Search before asking
   
   - [x] I had searched in the existing issues and found no similar bug report.
   
   ### Version
   
   Observed on Doris 4.0 branch.
   
   ### What's Wrong?
   
   In Unique Key MoW / partial update workloads, a slow BE may receive 
`PUBLISH_VERSION` before its local `TabletsChannel::close()` fully finishes.
   
   At that time, the BE may still be in local close stages such as:
   - `wait_flush`
   - `build_rowset`
   - delete bitmap related work
   - `commit_txn`
   
   As a result, `EnginePublishVersionTask` may see:
   
   ```cpp
   txn_manager()->get_txn_related_tablets(transaction_id, partition_id, 
&tablet_related_rs)
   
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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