[SERVER-34213] testshard1.js should use _ids of [0, nItems -1] instead of [1, nItems] Created: 30/Mar/18  Updated: 29/Oct/23  Resolved: 02/Apr/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.15, 3.6.4, 3.7.4

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6, v3.4
Sprint: Query 2018-04-09
Participants:
Linked BF Score: 25

 Description   

There are assertions later on in the test that make an assumption the first _id is 0, and this is more consistent with other tests.



 Comments   
Comment by Githook User [ 02/Apr/18 ]

Author:

{'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}

Message: SERVER-34213 Start _id at 0 in testshard1.js

(cherry picked from commit d9c3639f29758235732a89ad7136dee6715206e5)
Branch: v3.4
https://github.com/mongodb/mongo/commit/72478bae6207ad3af19543d80461ab7305c9e49a

Comment by Githook User [ 02/Apr/18 ]

Author:

{'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}

Message: SERVER-34213 Start _id at 0 in testshard1.js

(cherry picked from commit d9c3639f29758235732a89ad7136dee6715206e5)
Branch: v3.6
https://github.com/mongodb/mongo/commit/d3a2eb6fb87965691c17d1e9f66c99b1b94c4d26

Comment by Githook User [ 02/Apr/18 ]

Author:

{'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}

Message: SERVER-34213 Start _id at 0 in testshard1.js
Branch: master
https://github.com/mongodb/mongo/commit/d9c3639f29758235732a89ad7136dee6715206e5

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