[SERVER-39453] Add initial sync support for simultaneous index builds Created: 08/Feb/19 Updated: 29/Oct/23 Resolved: 19/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Execution Team 2020-02-24 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Leverage listIndexes with its includeIndexBuilds optional flag to retrieve both ready and in-progress indexes. It looks like listIndexes results that are in-prog have a buildUUID flag to distinguish themselves. Ready indexes should be built as is done in v4.0. In-progress indexes will be started asynchronously. Read the relevant design documents sections for details / edge case handling. |
| Comments |
| Comment by Githook User [ 19/Feb/20 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 19/Feb/20 ] |
|
Author: {'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 19/Feb/20 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 19/Feb/20 ] |
|
Author: {'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}Message: create mode 100644 src/mongo/db/storage/storage_engine_mock.h |
| Comment by Benety Goh [ 18/Feb/20 ] |
|
Starting in 3.6 (and 3.4.14), we copy the admin database from the sync source before copying the rest of the databases reported by listDatabases. This has the side effect of setting the FCV - making it possible to check for two phase index build support when cloning a non-admin collection. |