[SERVER-34048] Don't crash embedded when asked for the logical session cache Created: 21/Mar/18  Updated: 08/Jan/24  Resolved: 29/Mar/19

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

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File android_emulator_aarch64_dump_032118303.txt    
Sprint: Dev Tools 2019-02-11, Dev Tools 2019-03-11, Dev Tools 2019-04-08
Participants:

 Description   

For systems that don't yet support sessions, requests to access the cache should return user facing errors, not crash.



 Comments   
Comment by Henrik Edin [ 29/Mar/19 ]

Fixed by https://github.com/mongodb/mongo/commit/169119bf4bf823f503c66262b438e2828d1f83b5

Comment by Henrik Edin [ 22/Mar/18 ]

Still work to be done here

Comment by Githook User [ 22/Mar/18 ]

Author:

{'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin', 'username': 'henrikedin'}

Message: SERVER-34048 Temporary fix to not crash embedded when asked for logical session by telling drivers they are disabled by omitting logicalSessionTimeoutMinutes in the isMaster result.
Branch: master
https://github.com/mongodb/mongo/commit/0fa9948c6155b34480943a1b8275210c60050497

Comment by Eric Daniels (Inactive) [ 21/Mar/18 ]

Attached the dump

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