[SERVER-57486] Prevent periodic index checks in transactions_stale_shard_version_errors.js test Created: 07/Jun/21 Updated: 29/Oct/23 Resolved: 27/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0-rc0 |
| Fix Version/s: | 5.1.0-rc0, 5.0.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-csrs-stepdown-upkeep, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.0
|
||||||||
| Sprint: | Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 34 | ||||||||
| Description |
|
transactions_stale_shard_version_errors.js attempts to provoke a StaleConfig exception inside a transaction by blocking catalog cache refreshes on a specific shard. On CSRS stepdown suites blocking the catalog cache refreshes after the migration it is not enough to cause the StaleConfig exception. In fact the CSRS on stepUp execute the PeriodicShardedIndexConsistencyChecker that in turn it triggers a refresh on the shards. So if this happens after the test has migrated the chunk but before test test had stopped the refreshes on the shard, the transaction would succeed. For this reason we should blacklist this test from the CSRS stepdown suite. |
| Comments |
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit 5de55e1319907c14091409686d8463b0270b7170) |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 27/Jul/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: |
| Comment by Marcos José Grillo Ramirez [ 27/Jul/21 ] |
|
After talking with tommaso.tocci we've decided to disable the Periodic Consistency Index Checker on this test. |