[SERVER-51238] index build has incorrect phase after aborting for rollback Created: 30/Sep/20  Updated: 29/Oct/23  Resolved: 01/Oct/20

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

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: pm-1344
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-51255 rollback persists resumable index inf... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-10-05
Participants:
Linked BF Score: 37

 Description   

On entering rollback, index builds are aborted and left in a state similar to that observed during a clean shutdown. If an index build is aborted (using the IndexBuildAborted error code) for rollback, MultiIndexBlock may erroneously reset the phase back to Initialized in the exception handling code.



 Comments   
Comment by Githook User [ 01/Oct/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-51238 fix index build phase when aborting index build for rollback
Branch: master
https://github.com/mongodb/mongo/commit/078aa203f8625c4e1227ffc4e316cea218eb15c9

Comment by Githook User [ 01/Oct/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-51238 fix typo in js test
Branch: master
https://github.com/mongodb/mongo/commit/5ed3f46d7bc27a909a82bb9d469730300b2e1e60

Comment by Githook User [ 30/Sep/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-51238 log resumable info when persisting index build state to disk
Branch: master
https://github.com/mongodb/mongo/commit/4c7f5509b77cac90f3c1b39b08f17d8b5d3243a8

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