File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ func (r *PhysRestore) waitClusterStatus() (defs.Status, error) {
310
310
}
311
311
312
312
func (r * PhysRestore ) flush (ctx context.Context ) error {
313
- r .log .Debug ("shutdown server" )
313
+ r .log .Debug ("shutting down server" )
314
314
rsStat , err := topo .GetReplsetStatus (ctx , r .node )
315
315
if err != nil {
316
316
return errors .Wrap (err , "get replset status" )
@@ -340,7 +340,7 @@ func (r *PhysRestore) flush(ctx context.Context) error {
340
340
}
341
341
break
342
342
}
343
- r .log .Debug ("waiting to became secondary" )
343
+ r .log .Debug ("waiting to become secondary before shutting it down " )
344
344
time .Sleep (time .Second * 1 )
345
345
}
346
346
@@ -1579,7 +1579,7 @@ func (r *PhysRestore) replayOplog(
1579
1579
& stat .Txn ,
1580
1580
& mgoV )
1581
1581
if err != nil {
1582
- return errors .Wrap (err , "reply oplog" )
1582
+ return errors .Wrap (err , "replay oplog" )
1583
1583
}
1584
1584
if len (partial ) > 0 {
1585
1585
tops := []db.Oplog {}
You can’t perform that action at this time.
0 commit comments