[SERVER-55319] [4.2] Invariant failure isVersionInitialized() src/mongo/db/server_options.h 217 after index build completes Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 02/Aug/21

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 4.2.12
Fix Version/s: 4.2.16

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

Issue Links:
Related
is related to SERVER-42162 Update Execution-related generic upgr... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-05-31, Execution Team 2021-06-14, Execution Team 2021-06-28, Execution Team 2021-07-12, Execution Team 2021-08-09
Participants:

 Description   

Observed on 4.2.12. I'm not sure if affects other versions.



 Comments   
Comment by Githook User [ 31/Jul/21 ]

Author:

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

Message: SERVER-55319 ensure FCV is initialized and set to 4.2 before dropping RSTL for index build
Branch: v4.2
https://github.com/mongodb/mongo/commit/2932b3fd1e55d427f389d60ae5391b88568929b4

Comment by Benety Goh [ 22/Jul/21 ]

This should not be an issue in 4.4 after we updated the FCV constants in SERVER-42162.

Comment by Daniel Gottlieb (Inactive) [ 19/Mar/21 ]

mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x562025c39121]
mongod(+0x2A3474C) [0x562025c3874c]
mongod(+0x2A347D6) [0x562025c387d6]
libpthread.so.0(+0xF630) [0x7fe09024b630]
libc.so.6(gsignal+0x37) [0x7fe08fea4387]
libc.so.6(abort+0x148) [0x7fe08fea5a78]
mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x0) [0x562023f709bb]
mongod(_ZN5mongo22IndexBuildsCoordinator19_runIndexBuildInnerEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEE+0x379) [0x562023de3ba5]
mongod(_ZN5mongo22IndexBuildsCoordinator14_runIndexBuildEPNS_16OperationContextERKNS_4UUIDE+0x136) [0x562024a4dd56]
mongod(+0x13120E4) [0x5620245160e4]
mongod(_ZN5mongo10ThreadPool10_doOneTaskEPSt11unique_lockINS_12latch_detail5LatchEE+0xFA) [0x562024a1dbda]
mongod(_ZN5mongo10ThreadPool13_consumeTasksEv+0x91) [0x562024a1f0a1]
mongod(_ZN5mongo10ThreadPool17_workerThreadBodyEPS0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x99) [0x562024a201a9]
mongod(+0x181CA72) [0x562024a20a72]
mongod(+0x2B5C8BF) [0x562025d608bf]
libpthread.so.0(+0x7EA5) [0x7fe090243ea5]

which should be this FCV access.

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