[SERVER-60508] Shard server OnReplicationRollback throws when recovering critical section on time-series collection Created: 06/Oct/21 Updated: 29/Oct/23 Resolved: 13/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.0.4, 5.1.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jordi Serra Torrens |
| 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: |
v5.1, v5.0
|
||||||||
| Sprint: | Sharding EMEA 2021-10-18 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 40 | ||||||||
| Description |
|
Currently, the ShardServerOpObserver has rollback logic that will call recoverRecoverableCriticalSections() which calls AutoGetColl on the collection namespaces. However, if it is a time-series collection, AutoGetColl will throw and fail rollback. |
| Comments |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit 34f32547b19c4bd62538273b093aa31fc26d71ea) |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit 34f32547b19c4bd62538273b093aa31fc26d71ea) |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |