Revert "branch-2.1: [bug](auto partition) Fix be crash with single replica insert" #48926
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #48536
BE core after this PR, revert it。
*** Check failure stack trace: ***
@ 0x564fa82e5606 google::LogMessage::SendToLog()
@ 0x564fa82e2050 google::LogMessage::Flush()
@ 0x564fa82e5e49 google::LogMessageFatal::~LogMessageFatal()
@ 0x564fa9dcb44a (unknown)
@ 0x564fa8a19e05 google::protobuf::internal::LogMessage::Finish()
@ 0x564f9e68d49e google::protobuf::Map<>::at<>()
@ 0x564f9e68b805 doris::TabletsChannel::_commit_txn()
@ 0x564f9e68b20b doris::TabletsChannel::close()
@ 0x564f9e591fee doris::LoadChannel::_handle_eos()
@ 0x564f9e591ca2 doris::LoadChannel::add_batch()
@ 0x564f9e58c300 doris::LoadChannelMgr::add_batch()
@ 0x564f9e702bb1 std::_Function_handler<>::_M_invoke()
@ 0x564f9e71d3db doris::WorkThreadPool<>::work_thread()
@ 0x564fab0ad760 execute_native_thread_routine
@ 0x7efd907a8ac3 (unknown)
@ 0x7efd9083a850 (unknown)
@ (nil) (unknown)