You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/05/24 03:59:06 UTC
[incubator-doris] branch dev-1.0.1 updated: [hotfix] fix load with close wait failed error
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/dev-1.0.1 by this push:
new d752946faa [hotfix] fix load with close wait failed error
d752946faa is described below
commit d752946faaf5c15c71f3257e5c818c2a57f88e2d
Author: morningman <mo...@163.com>
AuthorDate: Tue May 24 11:58:14 2022 +0800
[hotfix] fix load with close wait failed error
Incorrect code merge when cherry-picking #9619
---
be/src/runtime/tablets_channel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/runtime/tablets_channel.cpp b/be/src/runtime/tablets_channel.cpp
index 19f342360c..e2ac4aa846 100644
--- a/be/src/runtime/tablets_channel.cpp
+++ b/be/src/runtime/tablets_channel.cpp
@@ -210,7 +210,7 @@ void TabletsChannel::_close_wait(DeltaWriter* writer,
google::protobuf::RepeatedPtrField<PTabletInfo>* tablet_vec,
google::protobuf::RepeatedPtrField<PTabletError>* tablet_errors) {
OLAPStatus st = writer->close_wait();
- if (st != OLAP_SUCCESS) {
+ if (st == OLAP_SUCCESS) {
if (_broken_tablets.find(writer->tablet_id()) == _broken_tablets.end()) {
PTabletInfo* tablet_info = tablet_vec->Add();
tablet_info->set_tablet_id(writer->tablet_id());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org