[SERVER-41718] recover_prepared_transactions_startup_secondary_application.js should wait for node to be in the secondary state before reading from it Created: 13/Jun/19 Updated: 29/Oct/23 Resolved: 14/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Samyukta Lanka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||
| Sprint: | Repl 2019-06-17, Repl 2019-07-01 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 20 | ||||||||||||||||
| Description |
|
recover_prepared_transactions_startup_secondary_application.js waits for all writes before the nodes went into recovery to be majority committed, but it doesn't wait for the node to transition back into the secondary state. This can cause a test to fail if the node has reconstructed these prepared transactions (and thus cause the majority commit point to advance), but hasn't exited recovering mode. |
| Comments |
| Comment by Githook User [ 02/Jul/19 ] |
|
Author: {'name': 'Samy Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: (cherry picked from commit dc9a28bff8ee8e20f764839f52172c458b24dbac) |
| Comment by Githook User [ 14/Jun/19 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}Message: |