Skip to content

Commit

Permalink
Merge pull request #1675 from Expensify/phs/elevateLostLeader
Browse files Browse the repository at this point in the history
Elevate "lost our leader" message from hmmm to warn
  • Loading branch information
bondydaa authored Mar 13, 2024
2 parents 2bc3d19 + f41dfbc commit 269829f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlitecluster/SQLiteNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@ void SQLiteNode::_onDisconnect(SQLitePeer* peer) {
if (peer == _leadPeer) {
// We've lost our leader: make sure we aren't waiting for
// transaction response and re-SEARCH
PHMMM("Lost our LEADER, re-SEARCHING.");
PWARN("Lost our LEADER, re-SEARCHING.");
SASSERTWARN(_state == SQLiteNodeState::SUBSCRIBING || _state == SQLiteNodeState::FOLLOWING);
{
_leadPeer = nullptr;
Expand Down

0 comments on commit 269829f

Please sign in to comment.