[SERVER-33569] The check for logical session existence must not allow partial results Created: 01/Mar/18  Updated: 29/Oct/23  Resolved: 02/Mar/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.4, 3.7.3

Type: Bug Priority: Critical - P2
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Platforms 2018-03-12
Participants:

 Description   

The logical session existence check currently sets allowPartialResults. There's no reason for it do so, and this can cause cursors and retryable write transactions to be closed too soon.



 Comments   
Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-33569 Don't allowPartialResults for session refresh

The check for logical session existence must not allow partial results.
While this is on, an unresponsive shard can cause cursor and retryable
write state to be prematurely erased.

(cherry picked from commit bbc4ce5b1118ae19af6b824277009eae7352d477)
Branch: v3.6
https://github.com/mongodb/mongo/commit/9eb5620e7c52a5a3b665ffbb3bd12a87c06cef6d

Comment by Githook User [ 02/Mar/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-33569 Don't allowPartialResults for session refresh

The check for logical session existence must not allow partial results.
While this is on, an unresponsive shard can cause cursor and retryable
write state to be prematurely erased.
Branch: master
https://github.com/mongodb/mongo/commit/bbc4ce5b1118ae19af6b824277009eae7352d477

Generated at Thu Feb 08 04:33:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.