Skip to content

Commit 17f007e

Browse files
committed
Brings in a patch on having flusher not suppress errors.
go-mgo#360
1 parent 896bbb8 commit 17f007e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

txn/flusher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ func (f *flusher) checkpoint(t *transaction, revnos []int64) error {
759759
f.debugf("Ready to apply %s. Saving revnos %v: LOST RACE", t, debugRevnos)
760760
return f.reload(t)
761761
}
762-
return nil
762+
return err
763763
}
764764

765765
func (f *flusher) apply(t *transaction, pull map[bson.ObjectId]*transaction) error {

0 commit comments

Comments
 (0)