<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>...<br></div></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><br></div><div><font face="monospace, monospace">  ops := []txn.Op{{</font></div><div><font face="monospace, monospace">      C: "collection",</font></div><div><font face="monospace, monospace">      Id: ...,</font></div><div><font face="monospace, monospace">      Assert: bson.M{</font></div><div><font face="monospace, monospace">          "some-field.A": "foo",</font></div><div><font face="monospace, monospace">          "some-field.B": 99,</font></div><div><font face="monospace, monospace">      },</font></div><div><font face="monospace, monospace">      Update: ...</font></div><div><font face="monospace, monospace">  }</font></div></div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">...</blockquote></span></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>[1] If transaction operations are loaded and used from the DB (more likely under load when multiple runners are acting concurrently), the Insert, Update and Assert fields are loaded as bson.M (this is what the bson Unmarshaller does for interface{} typed fields). Once this happens field ordering is lost.<br></div><div><br></div></div></div></div></blockquote><div>If loading into a bson.M is the problem, wouldn't using a bson.M to start with also be a problem?</div><div><br></div><div>John</div><div>=:-></div><div> </div></div></div></div>