[SERVER-68501] Direct use of internalBoundedSort can crash server Created: 02/Aug/22  Updated: 29/Oct/23  Resolved: 12/Aug/22

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

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: QO 2022-08-22
Participants:

 Description   

getTimeseriesBucketMinTime and getTimeseriesBucketMaxTime have invariants that can be triggered from the client without any logical error on the server side.

These invariants can be changed to uasserts.



 Comments   
Comment by Githook User [ 12/Aug/22 ]

Author:

{'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-68501 changed invariant to uassert for direct bounded sort use

(cherry picked from commit 1f93d126c0e83ca6de5dfa08648b1f61e90b04e1)
Branch: v6.0
https://github.com/mongodb/mongo/commit/a0eeb88ef210a2287697342781f488fd1935dad0

Comment by Githook User [ 11/Aug/22 ]

Author:

{'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-68501 changed invariant to uassert for direct bounded sort use
Branch: master
https://github.com/mongodb/mongo/commit/1f93d126c0e83ca6de5dfa08648b1f61e90b04e1

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