-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
95311: kvserver: do IO before in-memory Replica creation r=tbg a=pavelkalinnikov This commit moves the storage IO before newUnloadedReplica invocation. This allows returning early if storage invariants do not hold, and also simplifies error handling and mutex locking when instantiating a Replica. Touches #93898 Epic: CRDB-220 Release note: none Co-authored-by: Pavel Kalinnikov <[email protected]>
- Loading branch information
Showing
1 changed file
with
69 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters