[SERVER-63430] The isStandaloneOrPrimary flag from the PreWriteFilter should be computed once per operation Created: 08/Feb/22 Updated: 29/Oct/23 Resolved: 10/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Sergi Mateo Bellido |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding EMEA 2022-02-21 |
| Participants: |
| Description |
|
We were computing the value of the flag every time we were reacquiring the locks (i.e. after a yield). However this is not really needed because:
|
| Comments |
| Comment by Githook User [ 10/Feb/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |