From 1a2364aec03ca0f488b29265c5f11ace5932e307 Mon Sep 17 00:00:00 2001 From: John Arbash Meinel Date: Tue, 16 Jan 2018 14:22:15 +0200 Subject: [PATCH] Brings in a patch on having flusher not suppress errors. https://github.com/go-mgo/mgo/pull/360 --- txn/flusher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txn/flusher.go b/txn/flusher.go index 3d1882d7f..5d1c1bdd8 100644 --- a/txn/flusher.go +++ b/txn/flusher.go @@ -759,7 +759,7 @@ func (f *flusher) checkpoint(t *transaction, revnos []int64) error { f.debugf("Ready to apply %s. Saving revnos %v: LOST RACE", t, debugRevnos) return f.reload(t) } - return nil + return err } func (f *flusher) apply(t *transaction, pull map[bson.ObjectId]*transaction) error {