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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Internal Client
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-10-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: