[SERVER-47252] Remove Collection and Database IndexBuildsTrackers Created: 01/Apr/20  Updated: 29/Oct/23  Resolved: 09/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-47415 move data structures for tracking act... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Execution Team 2020-04-20
Participants:

 Description   

The CollectionIndexBuildsTracker and DatabaseIndexBuildsTracker are redundant with the _allIndexBuilds map we already maintain.

Every function on those classes can be replaced by some filter on the _allIndexBuilds map.



 Comments   
Comment by Githook User [ 15/Apr/20 ]

Author:

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

Message: SERVER-47252 remove DatabaseIndexBuildsTracker and CollectionIndexBuildsTracker

(cherry picked from commit 8c1eac6d1a769c7852125fedeb9d2f307cae15ba)
Branch: v4.4
https://github.com/mongodb/mongo/commit/a4a4a102515557ad2ff39c07f1d1fb0b9f2d9778

Comment by Githook User [ 15/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator stops using CollectionIndexBuildsTracker

(cherry picked from commit f91e5e8be90a58e52a7bfbf1b4d1a74623da4b9b)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f587c7888dcc7dce3c5a2a445b4e4632cecdc5e9

Comment by Githook User [ 15/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator stops using DatabaseIndexBuildsTracker

(cherry picked from commit 191f5e0b2f5cfd90cfc15c581d7f73b0a766118e)
Branch: v4.4
https://github.com/mongodb/mongo/commit/138a6bfdb417abcb39e6149352c2a4a3ee2cfcc9

Comment by Githook User [ 14/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator::waitForAllIndexBuildsToStopForShutdown() stops using DatabaseIndexBuildsTracker

(cherry picked from commit 3a3c57881f321a8434c350166fd34beb672033ed)
Branch: v4.4
https://github.com/mongodb/mongo/commit/18b7845464bc62219c446b753be07ccd2722183b

Comment by Githook User [ 14/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator shutdown and index build wait functions accept OpCtx

(cherry picked from commit 80499062d182e9f4a29957d6fde0189ec4851f84)
Branch: v4.4
https://github.com/mongodb/mongo/commit/46c6d2c03435ec008b2e7f3afdb301d3177c3dda

Comment by Githook User [ 09/Apr/20 ]

Author:

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

Message: SERVER-47252 remove DatabaseIndexBuildsTracker and CollectionIndexBuildsTracker
Branch: master
https://github.com/mongodb/mongo/commit/8c1eac6d1a769c7852125fedeb9d2f307cae15ba

Comment by Githook User [ 09/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator stops using CollectionIndexBuildsTracker
Branch: master
https://github.com/mongodb/mongo/commit/f91e5e8be90a58e52a7bfbf1b4d1a74623da4b9b

Comment by Githook User [ 09/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator stops using DatabaseIndexBuildsTracker
Branch: master
https://github.com/mongodb/mongo/commit/191f5e0b2f5cfd90cfc15c581d7f73b0a766118e

Comment by Githook User [ 08/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator::waitForAllIndexBuildsToStopForShutdown() stops using DatabaseIndexBuildsTracker
Branch: master
https://github.com/mongodb/mongo/commit/3a3c57881f321a8434c350166fd34beb672033ed

Comment by Githook User [ 08/Apr/20 ]

Author:

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

Message: SERVER-47252 IndexBuildsCoordinator shutdown and index build wait functions accept OpCtx
Branch: master
https://github.com/mongodb/mongo/commit/80499062d182e9f4a29957d6fde0189ec4851f84

Generated at Thu Feb 08 05:13:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.