Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44021

Make type of "count" command in DBClient_Base match server.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-10-21

      The "count" command from mongodb returns a signed value up to "long long". The client uses an unsigned long long type. There are certain cases where after unclean shutdown, the fast count (count with no query) may be negative; the client should return these as negative.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: