Skip to content

Commit

Permalink
feat(split): clear split context while close replica (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycdong authored Mar 18, 2021
1 parent fc6093c commit 53c8c63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/replica/replica.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@ void replica::close()

r = _potential_secondary_states.cleanup(true);
dassert(r, "potential secondary context is not cleared");

r = _split_states.cleanup(true);
dassert_replica(r, "partition split context is not cleared");
}

if (_private_log != nullptr) {
Expand Down

0 comments on commit 53c8c63

Please sign in to comment.