[SERVER-42005] Don't refer to deleted memory in transaction router unit test Created: 28/Jun/19 Updated: 29/Oct/23 Resolved: 01/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Blake Oler |
| 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: | Sharding 2019-07-15 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 37 | ||||||||
| Description |
|
With changes to the transaction router, we create a new TransactionParticipant struct when we need to change the ReadOnly value. The unit test assumes that the TransactionParticipant will remain the same across changes. There is only place, here, where that is not the case anymore. The test will need to be updated to create a new TransactionParticipant object. |
| Comments |
| Comment by Blake Oler [ 02/Jul/19 ] |
|
Backport rejected for reason referred to in comment above. |
| Comment by Blake Oler [ 01/Jul/19 ] |
|
The backport for |
| Comment by Githook User [ 01/Jul/19 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |