Skip to content

Commit 8f8d3b0

Browse files
Log if we ever get an invalid message
1 parent b65910a commit 8f8d3b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlitecluster/SQLiteNode.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ void SQLiteNode::_replicate() {
219219
}
220220
} else if (SIEquals(command.methodLine, "ROLLBACK_TRANSACTION")) {
221221
_handleRollbackTransaction(db, peer, command);
222+
} else {
223+
SWARN("Invalid command passed to _replicate: " << command.methodLine);
222224
}
223225
}
224226
}

0 commit comments

Comments
 (0)