Skip to content

Commit

Permalink
Do not print a failure message when remote bootstrap is started succe…
Browse files Browse the repository at this point in the history
…ssfully

Summary: Currently we print a warning message "Start remote bootstrap failed: OK". Fixing this.

Test Plan: Started a local cluster, added a new node, verified that the message doesn't appear anymore.

Reviewers: sergei, venkatesh, bharat

Reviewed By: bharat

Subscribers: ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D4357
  • Loading branch information
hectorgcr committed Mar 14, 2018
1 parent 5b16cf1 commit 960f19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yb/tserver/tablet_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ void ConsensusServiceImpl::StartRemoteBootstrap(const StartRemoteBootstrapReques
return;
}
Status s = tablet_manager_->StartRemoteBootstrap(*req);
LOG_IF(WARNING, s.ok()) << "Start remote bootstrap failed: " << s;
LOG_IF(WARNING, !s.ok()) << "Start remote bootstrap failed: " << s;
RETURN_UNKNOWN_ERROR_IF_NOT_OK(s, resp, &context);
context.RespondSuccess();
}
Expand Down

0 comments on commit 960f19f

Please sign in to comment.