[SERVER-47635] Remove index build entries for the finished index builds from system.indexBuilds collection. Created: 17/Apr/20  Updated: 29/Oct/23  Resolved: 07/May/20

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

Type: Task Priority: Major - P3
Reporter: Suganthi Mani 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-48293 remove inactive index builds from con... Closed
related to SERVER-48000 Complete TODO listed in SERVER-47635 Closed
related to SERVER-53001 Complete TODO listed in SERVER-47323 Closed
is related to SERVER-47323 If config.system.indexBuilds is dropp... Closed
is related to SERVER-47465 Remove unused methods setCommitQuorum... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Execution Team 2020-05-18
Participants:
Linked BF Score: 21

 Description   

Currently, we don't garbage collect it. But, it's really good to have one .



 Comments   
Comment by Githook User [ 08/May/20 ]

Author:

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

Message: SERVER-47635 remove index build from config.system.indexBuilds after completion (commit/abort)

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

Comment by Githook User [ 08/May/20 ]

Author:

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

Message: SERVER-47635 add tests to check config.system.indexBuilds after completing index builds

(cherry picked from commit 235589e9472c53658019a02233970da84b5caf1a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/bfe456e43785110c43bc8d8340caeb37bc6b208f

Comment by Githook User [ 08/May/20 ]

Author:

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

Message: SERVER-47635 improve indexbuildentryhelpers error handling and messages

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

Comment by Githook User [ 07/May/20 ]

Author:

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

Message: SERVER-47635 IndexBuildsCoordinator::onCommitIndexBuild() updates IndexBuildState via WriteUnitOfWork commit handler

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

Comment by Githook User [ 07/May/20 ]

Author:

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

Message: SERVER-47635 IndexBuildsCoordinator::onCommitIndexBuild() accepts shared pointer to ReplIndexBuildState instead of reference

(cherry picked from commit 3b8ae818cb9f2a342974568b06f132645a546278)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e83e058d8f344fea96c80ed9b2ba5434177d48c0

Comment by Githook User [ 07/May/20 ]

Author:

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

Message: SERVER-47635 do not import indexbuildentryhelpers namespace into index_builds_coordinator.cpp and index_builds_coordinator_mongod.cpp

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

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 remove index build from config.system.indexBuilds after completion (commit/abort)
Branch: master
https://github.com/mongodb/mongo/commit/f6f3355081a2e96240bfd6e650549d1ec32dbc5d

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 add tests to check config.system.indexBuilds after completing index builds
Branch: master
https://github.com/mongodb/mongo/commit/235589e9472c53658019a02233970da84b5caf1a

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 improve indexbuildentryhelpers error handling and messages
Branch: master
https://github.com/mongodb/mongo/commit/dc716555efbfca50d6d00f860153d191d1c59e9e

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 IndexBuildsCoordinator::onCommitIndexBuild() updates IndexBuildState via WriteUnitOfWork commit handler
Branch: master
https://github.com/mongodb/mongo/commit/d27d51c69c2f9b25c8c7bf4cb6d5c647f98d86fb

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 IndexBuildsCoordinator::onCommitIndexBuild() accepts shared pointer to ReplIndexBuildState instead of reference
Branch: master
https://github.com/mongodb/mongo/commit/3b8ae818cb9f2a342974568b06f132645a546278

Comment by Githook User [ 06/May/20 ]

Author:

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

Message: SERVER-47635 do not import indexbuildentryhelpers namespace into index_builds_coordinator.cpp and index_builds_coordinator_mongod.cpp
Branch: master
https://github.com/mongodb/mongo/commit/e2ccbbd922d42fc0f68608816c9a1265c6c87409

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