[SERVER-49871] jstests/core/index_many2.js shouldn't try to make 1000 indexes on a collection when the limit is 64 Created: 24/Jul/20  Updated: 06/Dec/22  Resolved: 23/Nov/21

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Duplicate Votes: 0
Labels: neweng, techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-59096 clean up tests: index_many2.js countc... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

Nothing broken, just a test improvement to a rather old ambiguously purposed test.

I randomly noticed that the test repeatedly logs

[MongoDFixture:job0] {"t":{"$date":"2020-07-24T12:15:32.641-04:00"},"s":"I",  "c":"INDEX",    "id":20354,   "ctx":"conn76","msg":"Exceeded maximum number of indexes","attr":{"namespace":"test.index_many2","key":{"x836":1.0},"maxNumIndexes":64}}

for a long while because of a 1000 round for-loop.


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