[SERVER-67230] ServiceEntryPoint accepts 1 more session than it should Created: 13/Jun/22  Updated: 29/Oct/23  Resolved: 27/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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

Issue Links:
Related
is related to SERVER-67218 Remove ServiceStateMachine::setCleanu... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2022-06-27, Service Arch 2022-07-11
Participants:

 Description   

Off by one error in checking the against max sessions.
Should be >= not > I think.

https://github.com/mongodb/mongo/blob/a98ea3b6e7a8f8ae0dac783cde4f2b964fea75f7/src/mongo/transport/service_entry_point_impl.cpp#L175



 Comments   
Comment by Billy Donahue [ 27/Jun/22 ]

Fixed with SERVER-67218

Comment by Billy Donahue [ 13/Jun/22 ]

Fixing as part of SERVER-67218, but worth tracking separately.

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