[SERVER-83485] Fix multikey-path serialization code used during validation Created: 20/Nov/23  Updated: 21/Dec/23  Resolved: 21/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2, 7.0.5, 6.0.13, 5.0.24, 4.4.28

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

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2, v7.0, v6.0, v5.0, v4.4
Sprint: Execution Team 2023-11-27
Participants:

 Description   

The code used during validation to serialize the multikey-path data to a string when an error is detected doesn't properly handle all valid input, e.g. if some prefix of a compound index does not contain any multikey data.



 Comments   
Comment by Githook User [ 21/Dec/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation

(cherry picked from commit 36ea8726cdad6c7fc0daedb3a5784a1722df9e5f)
(cherry picked from commit 8bd102102b26579cb75432e1822e0f9769921f57)

GitOrigin-RevId: ad470814f5b8b45d892f77741b3452b8583506e0
Branch: v4.4
https://github.com/mongodb/mongo/commit/16fcd8d29e12bd0720b67bc294ca3f3d6fcbce2a

Comment by Githook User [ 21/Dec/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation

(cherry picked from commit 36ea8726cdad6c7fc0daedb3a5784a1722df9e5f)
(cherry picked from commit 8bd102102b26579cb75432e1822e0f9769921f57)

GitOrigin-RevId: 46b049bc1d3c97ef099fa97e51e823b5a6d94932
Branch: v5.0
https://github.com/mongodb/mongo/commit/3f35c1db60bbc60e0e9650c65cbb2b1b025d6a14

Comment by Githook User [ 21/Dec/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation

(cherry picked from commit 36ea8726cdad6c7fc0daedb3a5784a1722df9e5f)
(cherry picked from commit 8bd102102b26579cb75432e1822e0f9769921f57)

GitOrigin-RevId: 813520172fa6d3a209f13b232fb4a9b9387639c3
Branch: v6.0
https://github.com/mongodb/mongo/commit/74c62adf5104ebe33b12b6eefdab4b84798a3217

Comment by Githook User [ 19/Dec/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix includes for multikey paths

(cherry picked from commit 8bd102102b26579cb75432e1822e0f9769921f57)

GitOrigin-RevId: 7809d71e84e314b497f282ea8aa06d7ded3eb205
Branch: v7.0
https://github.com/mongodb/mongo/commit/882248b8276837e1e4107df87c61842917ff78e7

Comment by Githook User [ 01/Dec/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix includes for multikey paths
Branch: master
https://github.com/mongodb/mongo/commit/8bd102102b26579cb75432e1822e0f9769921f57

Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation

(cherry picked from commit 36ea8726cdad6c7fc0daedb3a5784a1722df9e5f)
Branch: v7.0
https://github.com/mongodb/mongo/commit/c17c1480feade1cd5da455097d857242f34df677

Comment by Githook User [ 28/Nov/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation

(cherry picked from commit 36ea8726cdad6c7fc0daedb3a5784a1722df9e5f)
Branch: v7.2
https://github.com/mongodb/mongo/commit/bbd37770c569043cc5d2d0914f777f645bf8607e

Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-83485 Fix multikey-path serialization code used during validation
Branch: master
https://github.com/mongodb/mongo/commit/36ea8726cdad6c7fc0daedb3a5784a1722df9e5f

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