[SERVER-83498] Cleanup cursors and transactions upon terminating gRPC streams Created: 21/Nov/23 Updated: 18/Jan/24 Resolved: 18/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Ryan Berryhill |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Service Arch
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22 | ||||
| Participants: | |||||
| Linked BF Score: | 35 | ||||
| Description |
|
The idea is to cleanup resources associated with a gRPC stream once the server detects its termination, similar to how we cleanup after load-balanced connections. This is not a correctness issue, but an optimization to make sure the server properly handles short-living streams that open cursors and start transactions. |
| Comments |
| Comment by Githook User [ 18/Jan/24 ] |
|
Author: {'name': 'Ryan Berryhill', 'email': 'ryanberryhill@users.noreply.github.com', 'username': 'ryanberryhill'}Message: GitOrigin-RevId: e4c7fbc2e9bc30922a67502e106d1579e68aa991 |
| Comment by Githook User [ 12/Jan/24 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 301620667af465c90c90cef015934706cd7ec674. GitOrigin-RevId: 662a2d26c742abd88f9c825ccaadbd51735a668e |
| Comment by Githook User [ 12/Jan/24 ] |
|
Author: {'name': 'Ryan Berryhill', 'email': 'ryanberryhill@users.noreply.github.com', 'username': 'ryanberryhill'}Message: GitOrigin-RevId: 301620667af465c90c90cef015934706cd7ec674 |