[SERVER-78576] Add originalSpec field to NewIndexSpec IDL Created: 30/Jun/23  Updated: 29/Oct/23  Resolved: 03/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc7, 6.0.9

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

Issue Links:
Backports
Depends
Related
is related to SERVER-58779 Store the original user index definit... Closed
is related to SERVER-39723 Change listIndexes command behavior t... Closed
is related to SERVER-62187 Modify 'originalSpec' to be part of t... Closed
is related to SERVER-59084 Add "includeIndexBuildInfo" flag to l... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Sprint: Execution NAMR Team 2023-07-10
Participants:
Linked BF Score: 0

 Description   

When listIndexes is called with includeBuildUUIDs: true, and there's an index build in-progress for a partial index on a time series collection, we can experience issues. We nest the index spec under a "spec" field, which is parsed as a NewIndexSpec, rather than as a ListIndexesReplyItem, which allows the "originalSpec" field. We need to keep the rest of the fields for these types in sync.



 Comments   
Comment by Githook User [ 13/Jul/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-78576 fix listIndexes support for index builds in time-series buckets collection

(cherry picked from commit 9aab881aba4e583dd39be5ea7687f1ce3b544323)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1bdea3ec5b326e3acc92c80a188ed6deec1fd79b

Comment by Githook User [ 12/Jul/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-68556 SERVER-78576 add TimeseriesTest.getBucketsCollName()

(cherry picked from commit 135eefc1bd00a5ab5c97ba679805dc150c9429ec)
Branch: v6.0
https://github.com/mongodb/mongo/commit/fb5d4765400b1292d68e73c276fe9ec673bab6eb

Comment by Githook User [ 06/Jul/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-78576 fix listIndexes support for index builds in time-series buckets collection

(cherry picked from commit 9aab881aba4e583dd39be5ea7687f1ce3b544323)
Branch: v7.0
https://github.com/mongodb/mongo/commit/86e86edb30bc11b0fa409d0e06f302467befe460

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-78576 fix listIndexes support for index builds in time-series buckets collection
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/9aab881aba4e583dd39be5ea7687f1ce3b544323

Comment by Githook User [ 01/Jul/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-78576 fix listIndexes support for index builds in time-series buckets collection
Branch: master
https://github.com/mongodb/mongo/commit/9aab881aba4e583dd39be5ea7687f1ce3b544323

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