Skip to content

Commit

Permalink
Merge branch 'master' into coalesce
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 authored Jan 6, 2022
2 parents ce00ea7 + dcff297 commit 0545fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/graph/session/GraphSessionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void GraphSessionManager::removeSession(SessionID id) {
if (!resp.ok()) {
// it will delete by reclaim
LOG(ERROR) << "Remove session `" << id << "' failed: " << resp.status();
return;
}
activeSessions_.erase(iter);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def return_if_not_leader_changed(resp) -> bool:
return True

err_msg = resp.error_msg()
return err_msg.find('Storage Error: The leader has changed') < 0
return err_msg.find('Please retry later.') < 0


@retry(30, return_if_not_leader_changed)
Expand Down

0 comments on commit 0545fbf

Please sign in to comment.