[SERVER-51699] index_build_restart_secondary.js (indexbg_restart_secondary.js) should handle exceptions when checking indexes after restarting node Created: 16/Oct/20  Updated: 29/Oct/23  Resolved: 16/Apr/21

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.15, 4.4.7, 5.0.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-52641 indexbg_restart_secondary.js should w... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Execution Team 2021-04-05, Execution Team 2021-04-19
Participants:
Linked BF Score: 18

 Description   

indexbg_restart_secondary.js may fail at the end of the test when the restarted secondary node is not ready to accept the listIndexes command. We can consider using assert.soonNoExcept() to [replace this instance of assert.soon() to make this test more stable, especially on old branches such as 4.2.



 Comments   
Comment by Githook User [ 12/May/21 ]

Author:

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

Message: SERVER-51699 index_build_restart_secondary.js should handle exceptions when checking indexes after restarting node

(cherry picked from commit 8cdb1f0b2d980e1c75cd69ea9cfce97480fca396)
Branch: v4.2
https://github.com/mongodb/mongo/commit/79985071e108ee36a3bf4744f7c77a5b2bf3a7b5

Comment by Githook User [ 10/May/21 ]

Author:

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

Message: SERVER-51699 index_build_restart_secondary.js should handle exceptions when checking indexes after restarting node

(cherry picked from commit 8cdb1f0b2d980e1c75cd69ea9cfce97480fca396)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5175d91ab978d1344118d5ea3364a80bd7025039

Comment by Githook User [ 16/Apr/21 ]

Author:

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

Message: SERVER-51699 index_build_restart_secondary.js should handle exceptions when checking indexes after restarting node
Branch: master
https://github.com/mongodb/mongo/commit/8cdb1f0b2d980e1c75cd69ea9cfce97480fca396

Comment by Benety Goh [ 12/Apr/21 ]

This test was renamed and moved in SERVER-52641 to jstests/noPassthrough/index_build_restart_secondary.js. The new location of the assertion is here.

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