[SERVER-44021] Make type of "count" command in DBClient_Base match server. Created: 15/Oct/19  Updated: 29/Oct/23  Resolved: 16/Oct/19

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2019-10-21
Participants:

 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.



 Comments   
Comment by Githook User [ 16/Oct/19 ]

Author:

{'name': 'Matthew Russotto', 'username': 'mtrussotto', 'email': 'matthew.russotto@mongodb.com'}

Message: SERVER-44021 Make type of "count" command in DBClient_Base match server.
Branch: master
https://github.com/mongodb/mongo/commit/9bee42b1be57065f6ef963e6aa535a66a39e04f2

Generated at Thu Feb 08 05:04:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.