Operational Defect Database

BugZero found this defect 70 days ago.

MongoDB | 2604125

SBE stage builder can output unrequested 'time' field for TS collections

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

8.0.0-rc0

Description:

Info

The SBE TS stage builder emits the 'time' field unconditionally. This can lead to later stages having access to the field even if it was projected out. For example, [ {"$project": {"_id": 0, [metaFieldName]: 1}}, {"$project": {"_id": 0, [timeFieldName]: 1}} ] This does not affect 7.2, 7.3, or any released version.

Top User Comments

xgen-internal-githook commented on Mon, 11 Mar 2024 19:27:53 +0000: Author: {'name': 'Ian Boros', 'email': '87138302+borosaurus@users.noreply.github.com', 'username': 'borosaurus'} Message: SERVER-87742 Fix bug in SBE TS stage builders where 'time' field is is incorrectly produced (#19800) GitOrigin-RevId: 36f219da019d689e2c123adee8ed15f03ddec7d0 Branch: master https://github.com/mongodb/mongo/commit/2c22294a3320a15966ba49e4a02e758dd78bb119

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...