[SERVER-26447] Make initial sync index builds non-restartable Created: 04/Oct/16  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: DF
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Participants:
Case:

 Description   

Currently if we crash in the middle of initial sync, any in-progress index builds will be fully rebuilt before the node starts accepting incoming connections. This is wasted work and keeps the system offline longer, as the moment the node fully finishes startup, it's going to wind up restarting the initial sync and throwing out all data and indexes anyway.

If we can't make them non-restartable, then change the startup code to ignore them during initial sync (since all dbs will be dropped later anyway).


Generated at Thu Feb 08 04:12:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.