[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: |
|
||||||||||||||||
| 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: (cherry picked from commit 97e827840a95b9c9678535da261a265d7d17d32c) |
| Comment by Githook User [ 01/Nov/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com'}Message: |