Skip to content

Commit d6aa88d

Browse files
committed
patches: add mgo PR juju#360
go-mgo/mgo#360
1 parent c408b39 commit d6aa88d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

patches/mgo_txn_flusher_pr360.diff

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/gopkg.in/mgo.v2/txn/flusher.go b/gopkg.in/mgo.v2/txn/flusher.go
2+
index f640a43..03b56ba 100644
3+
--- a/gopkg.in/mgo.v2/txn/flusher.go
4+
+++ b/gopkg.in/mgo.v2/txn/flusher.go
5+
@@ -691,7 +691,7 @@ func (f *flusher) checkpoint(t *transaction, revnos []int64) error {
6+
f.debugf("Ready to apply %s. Saving revnos %v: LOST RACE", t, debugRevnos)
7+
return f.reload(t)
8+
}
9+
- return nil
10+
+ return err
11+
}
12+
13+
func (f *flusher) apply(t *transaction, pull map[bson.ObjectId]*transaction) error {

0 commit comments

Comments
 (0)