[SERVER-77396] Refactor some of the concurrency exception util method Created: 23/May/23 Updated: 29/Oct/23 Resolved: 25/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2023-05-29 | ||||||||
| Participants: | |||||||||
| Description |
|
We are currently dropping the `ns` parameter from handleTemporarilyUnavailableExceptionInTransaction . We should just remove that parameter altogether. The handleTemporarilyUnavailableException passes a `StringData ns` (which is coming from a serialized NamespaceString) to then be deserialize for logging (here too). We should just pass the NamespaceString directly and only deserialize once for logging. logWriteConflictAndBackoff should also pass a NamespaceString directly. We are currently serializing a NamespaceString as a parameter which is then used to deserialize the just serialized NamespaceString. |
| Comments |
| Comment by Githook User [ 25/May/23 ] |
|
Author: {'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: |