Skip to content

Commit

Permalink
Fix RACE not handled correctly in bootstrapper (#11284)
Browse files Browse the repository at this point in the history
  • Loading branch information
snaury authored Nov 5, 2024
1 parent 97340e3 commit 965f473
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ydb/core/tablet/bootstrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ class TBootstrapper : public TActorBootstrapped<TBootstrapper> {
Become(&TThis::StateConnectLeader);
return;
}
case NKikimrProto::RACE: {
// State storage is working, but data is inconsistent
[[fallthrough]];
}
case NKikimrProto::NODATA: {
// We have state storage quorum and no known leader
BeginNewRound();
Expand Down

0 comments on commit 965f473

Please sign in to comment.