Large enough Opid will overflow when appended to currentOp output

XMLWordPrintableJSON

    • Query Execution
    • ALL
    • Server 2.7.4, Server 2.7.5, Server 2.7.6
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We keep the opid as an AtomicUInt but to display we append this to a bsonobject using the BsonObjBuilder.

      BSON doesn't support unsigned integers and simply casts them to int's when they are appended so when a large enough opid is passed the number would overload and wrap thus we see a large negative number.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              David Hows (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: