[SERVER-62113] Ignore IndexBuildAborted errors when building indexes in find_flip_sbe_enabled.js Created: 16/Dec/21  Updated: 29/Oct/23  Resolved: 22/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.1.2, 5.2.0-rc3

Type: Bug Priority: Major - P3
Reporter: Jennifer Peshansky (Inactive) Assignee: Jennifer Peshansky (Inactive)
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:
v5.2, v5.1
Sprint: QE 2021-12-27
Participants:
Linked BF Score: 37

 Description   

BF-23386 is caused by IndexBuildAborted errors being thrown during the createIndexes command in find_flip_sbe_enabled.js.

Looking at SERVER-45988, it seems that it's now possible for createIndexes in FSM tests to get an IndexBuildAborted error if an index is concurrently being dropped, instead of an IndexBuildAlreadyInProgress error, which is what would have been thrown in the past, and is an error that we already ignore.

I also noticed that many of the other fsm tests ignore this error. As a result of these observations, even though after many attempts I have not been able to reproduce it locally, I believe it's safe to ignore this error.



 Comments   
Comment by Githook User [ 22/Dec/21 ]

Author:

{'name': 'Jennifer Peshansky', 'email': 'jennifer.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}

Message: SERVER-62113 Ignore IndexBuildAborted errors when building indexes in find_flip_sbe_enabled.js

(cherry picked from commit 834d5d83602ee1cc7501b56a6d167cbbb843e57b)
Branch: v5.1
https://github.com/mongodb/mongo/commit/51be5572393c569a484b820d90d02bbf4f0bbc82

Comment by Githook User [ 22/Dec/21 ]

Author:

{'name': 'Jennifer Peshansky', 'email': 'jennifer.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}

Message: SERVER-62113 Ignore IndexBuildAborted errors when building indexes in find_flip_sbe_enabled.js

(cherry picked from commit 834d5d83602ee1cc7501b56a6d167cbbb843e57b)
Branch: v5.2
https://github.com/mongodb/mongo/commit/3e87f65262fd04deb326142fb100f45650e0498c

Comment by Githook User [ 22/Dec/21 ]

Author:

{'name': 'Jennifer Peshansky', 'email': 'jennifer.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}

Message: SERVER-62113 Ignore IndexBuildAborted errors when building indexes in find_flip_sbe_enabled.js
Branch: master
https://github.com/mongodb/mongo/commit/43cf0229ed3b2c91ae7357991a480b3fc806677c

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