Skip to content

Commit b3d78ee

Browse files
committed
comment fix
1 parent eb08418 commit b3d78ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/verifier/migration_verifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func (verifier *Verifier) WritesOff(ctx context.Context) error {
255255

256256
verifier.mux.Unlock()
257257

258-
// This has to happen under the lock because the change stream
258+
// This has to happen outside the lock because the change stream
259259
// might be inserting docs into the recheck queue, which happens
260260
// under the lock.
261261
verifier.changeStreamWritesOffTsChan <- finalTs

0 commit comments

Comments
 (0)