[SERVER-37426] FSM snapshot read tests mis-handle type information Created: 02/Oct/18 Updated: 29/Oct/23 Resolved: 25/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Gottlieb (Inactive) | Assignee: | Xiangyu Yao (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, test-fix | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Storage NYC 2018-11-05 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 7 | ||||||||||||
| Description |
|
For better or worse, `killCursors` requires the list of cursor IDs to be of type NumberLong. cursorIds returned in a response are always of the appropriate type and round-trip appropriately. However this helper assigns the cursorId to a floating point 0. Calling `killCursors` on this ID results in a type error. I'm not sure if there's value in sending a kill cursors command with a cursorId of 0, but I would recommend two changes:
|
| Comments |
| Comment by Githook User [ 25/Oct/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: |