Skip to content

Commit

Permalink
Merge branch 'tyler-single-thread-replicate' into tyler-hctree-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkaraszewski committed Jan 15, 2025
2 parents 2ef7f00 + fb5c90a commit b51eac7
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 459 deletions.
6 changes: 6 additions & 0 deletions BedrockServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,12 @@ bool BedrockServer::_wouldCrash(const unique_ptr<BedrockCommand>& command) {
return false;
}

// If this command crashed with more than one set of identifying values, it means
// we've already crashed more than one node. Let's fully block this command in that case.
if (commandIt->second.size() > 1) {
return true;
}

// Look at each crash-inducing command that has the same methodLine.
for (const STable& values : commandIt->second) {

Expand Down
Loading

0 comments on commit b51eac7

Please sign in to comment.