CursorId should serialize to BSON as 64-bit integer

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.3.0-beta1, 1.3.0
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using a CursorId with the killCursors command requires casting the string representation back to an integer, which will not work on 32-bit platforms. We should allow users to use CursorId objects as-is when serializing BSON.

      Note: mongod actually requires that we serialize the cursor ID as a 64-bit integer in KillCursorsRequest::parseFromBSON().

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: