[SERVER-76050] Enhance session handling in each coordinator Created: 13/Apr/23 Updated: 29/Oct/23 Resolved: 19/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antonio Fuschetto | Assignee: | Silvia Surroca |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted, shardingemea-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v7.0, v6.3, v6.0, v5.0
|
||||||||||||||||||||
| Sprint: | Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15, Sharding EMEA 2023-05-29 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 158 | ||||||||||||||||||||
| Story Points: | 7.5 | ||||||||||||||||||||
| Description |
|
In order to ensure the idempotence of a command, the session must be updated for each invocation. In fact, the session ID and the transaction number ensure that no stale requests arrive. Updating the sessione and then invoke che command with the current (updated) session is error prone as there is the risk of reuse an already used session ID. With |
| Comments |
| Comment by Githook User [ 08/Jun/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |
| Comment by Githook User [ 19/May/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |
| Comment by xgen-buildbaron-user [ 13/May/23 ] |
|
Ticket re-opened due to revert. change_streams_whole_cluster_secondary_reads_sharded_collections began a consistent failure of jstests/change_streams/ddl_view_events.js |
| Comment by Githook User [ 13/May/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 5a8c52c0de24d8ddeb4a7d3b90ef5942c53cbd14. |
| Comment by Githook User [ 12/May/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |
| Comment by Sergi Mateo Bellido [ 20/Apr/23 ] |
|
I = 5 ,C= 3 ,E= 2 > ICE= 7.5 |
| Comment by Antonio Fuschetto [ 13/Apr/23 ] |
|
Taking a look at some DDL coordinators, I noticed at least one bug — the renameCollection coordinator uses the same session to invoke three commands. This must be addressed in the context of this ticket. |