[SERVER-77611] Add a static constructor/destructor for the TransactionResources decoration Created: 31/May/23 Updated: 29/Oct/23 Resolved: 29/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-2144-Milestone-0, auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding EMEA 2023-06-12, Sharding EMEA 2023-06-26, Sharding EMEA 2023-07-10 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 148 | ||||||||||||
| Description |
|
We are going in the direction of having all resources related to a transaction to be attached to the TransactionResources object, which will control their lifetime and the OperationContext will be just a view into the TransactionResources rather than a lifetime controller. This ticket is to create a static constructor/destructor on that decoration so that we can use that as a base for initialisation of the default values of these resources rather than them being initialised at random points of the OperationContext lifetime. |
| Comments |
| Comment by Githook User [ 03/Jul/23 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 28/Jun/23 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by xgen-buildbaron-user [ 23/Jun/23 ] |
|
Ticket re-opened due to revert. concurrency_sharded_clusterwide_ops_add_remove_shards began a consistent failure of clusterwide_ops_with_add_remove_shards:CheckReplDBHashInBackground,clusterwide_ops_with_add_remove_shards:CheckMetadataConsistencyInBackground,jstests\concurrency\fsm_workloads_add_remove_shards\clusterwide_ops_with_add_remove_shards.js |
| Comment by Githook User [ 23/Jun/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit e3740e5b03bd44b6a8ed94185ca2dba96da89eaa. |
| Comment by Githook User [ 23/Jun/23 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |