[SERVER-44261] Replace waitForFailpoint function with waitForFailPoint command Created: 25/Oct/19  Updated: 29/Oct/23  Resolved: 01/Nov/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.2

Type: Improvement Priority: Minor - P4
Reporter: Lamont Nelson Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-44337 Remove waitForFailpoint function from... Backlog
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Participants:
Linked BF Score: 0

 Description   

After looking at BF-15149, it seems that the waitForFailpoint function in sharded_transactions_helpers.js is not 100% reliable. We can use the server command introduced by Chou for the same effect.

See https://github.com/mongodb/mongo/commit/99d90208c67351469dae5983ed233638e61cf732 for example usage.



 Comments   
Comment by Githook User [ 05/Nov/19 ]

Author:

{'name': 'Cheahuychou Mao', 'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com'}

Message: SERVER-44261 Replace waitForFailpoint function with waitForFailPoint command

(cherry picked from commit 97e827840a95b9c9678535da261a265d7d17d32c)
Branch: v4.2
https://github.com/mongodb/mongo/commit/b3d6bc5d1feb481113658d2f05823540bed44305

Comment by Githook User [ 01/Nov/19 ]

Author:

{'name': 'Cheahuychou Mao', 'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com'}

Message: SERVER-44261 Replace waitForFailpoint function with waitForFailPoint command
Branch: master
https://github.com/mongodb/mongo/commit/97e827840a95b9c9678535da261a265d7d17d32c

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