[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: |