[SERVER-78398] Retry createIndex commands which now get aborted from setFCV command Created: 23/Jun/23  Updated: 29/Oct/23  Resolved: 27/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Adi Zaimi Assignee: Adi Zaimi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 163

 Description   

SERVER-77387 now aborts ongoing createIndex command with error 'IndexBuildAborted' (see for instance
https://parsley.mongodb.com/resmoke/cadfc3093854e34ce028f0621f504195/test/176b2504a7cfe92fda7f09b186f08732?bookmarks=0,99&shareLine=0).

We should retry any createIndex command that failed with that error.



 Comments   
Comment by Githook User [ 27/Jun/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adi.zaimi@mongodb.com', 'username': 'adizaimi'}

Message: SERVER-78398 Retry createIndex commands which now get aborted from setFCV command

After SERVER-77387, an ongoing createIndex command can be aborted with error 'IndexBuildAborted' if a setFeatureCompatibilityVersion command is run at the same time. This only occurs in suite
fcv_upgrade_downgrade_replica_sets_jscore_passthrough which sends setFCV command continously.
In that suite, we should retry any createIndex command that failed with that error.
Branch: master
https://github.com/mongodb/mongo/commit/f5c23c74e131d002c01c60f68d7e3ef3191c5eca

Generated at Thu Feb 08 06:38:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.