[SERVER-67220] [5.0] set_fcv_prepared_transaction.js is not resilient to StaleConfig errors Created: 13/Jun/22 Updated: 29/Oct/23 Resolved: 13/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.10, 4.4.16 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Cheahuychou Mao |
| 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.4
|
||||||||
| Sprint: | Sharding 2022-06-27 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 159 | ||||||||
| Description |
|
For versions before 5.3, after a migration the recipient shard most of the time will not know that it has received a chunk, until a more recent router comes to look for it. Currently set_fcv_prepared_transaction.js does not account for these StaleConfig errors and mongos implicitly aborting the transaction. |
| Comments |
| Comment by Githook User [ 13/Jun/22 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: (cherry picked from commit 38670daf725de27444a28d83eca7b80ac0933e16) |
| Comment by Githook User [ 13/Jun/22 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |