File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ func (b *Blockstore) unlockMove(state bsMoveState) {
241
241
//
242
242
// The blockstore MUST accept new writes during the move and ensure that these
243
243
// are persisted to the new blockstore; if a failure occurs aboring the move,
244
- // then they must be peristed to the old blockstore.
244
+ // then they must be persisted to the old blockstore.
245
245
// In short, the blockstore must not lose data from new writes during the move.
246
246
func (b * Blockstore ) movingGC (ctx context.Context ) error {
247
247
// this inlines moveLock/moveUnlock for the initial state check to prevent a second move
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ func (s *BadgerMarkSet) BeginCriticalSection() error {
115
115
s .mx .Unlock ()
116
116
117
117
if write {
118
- // all writes sync once perist is true
118
+ // all writes sync once persist is true
119
119
return s .write (seqno )
120
120
}
121
121
You can’t perform that action at this time.
0 commit comments