[SERVER-78786] Cluster cursors strip internal session fields Created: 07/Jul/23  Updated: 29/Oct/23  Resolved: 11/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc8

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-81586 Unrevert commit from SERVER-78786 on 7.0 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Sprint: Sharding NYC 2023-07-10, Sharding NYC 2023-07-24
Participants:

 Description   

As noticed in SERVER-77506, cluster cursors run getMores using only the "id" and "uid" fields from LogicalSessionId, so internal distributed transactions that set the txnNumber or txnUUID session fields can't successfully run getMore commands. Instead, those cursors should use all LogicalSessionId fields.



 Comments   
Comment by Githook User [ 25/Jul/23 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: Revert "SERVER-78786 Don't strip internal session fields in cluster cursors"

This reverts commit 4d200be313aa26209d4507b9d94b403443d69a26.
Branch: v7.0
https://github.com/mongodb/mongo/commit/84d2d3b294032b4e1a305a935ddd7cdfadf4b8e5

Comment by Githook User [ 13/Jul/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-78786 Don't strip internal session fields in cluster cursors

(cherry picked from commit fd6296cfb951f0593d94ae512c795f02dccf729f)
Branch: v7.0
https://github.com/mongodb/mongo/commit/4d200be313aa26209d4507b9d94b403443d69a26

Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-78786 Don't strip internal session fields in cluster cursors
Branch: master
https://github.com/mongodb/mongo/commit/fd6296cfb951f0593d94ae512c795f02dccf729f

Generated at Thu Feb 08 06:39:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.