BugZero found this defect 60 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/21/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
`ExpressionFieldPath::serialize` which is used for comparison does not take into account `variableId`, while its hash function does use `variableId` to compute its hash. As a result two identical expressions which define the same variables using `let` sub expression can have different hash values just because their `variableId`s fields are different.
xgen-internal-githook commented on Thu, 21 Mar 2024 00:12:03 +0000: Author: {'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'} Message: SERVER-88288 Make hashing function of ExpressionFieldPath consistent with its comparison function (#20214) GitOrigin-RevId: 96a943f40281981f13041a84bce738d17e96e9f4 Branch: master https://github.com/mongodb/mongo/commit/b7c7077d423e5abe02cd99a714581c84d182c8f0