[SERVER-1645] could be issues with replication of background create index? Created: 20/Aug/10  Updated: 29/Aug/11  Resolved: 16/Jul/11

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

Type: Bug Priority: Minor - P4
Reporter: Dwight Merriman Assignee: Kristina Chodorow (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-2771 Background index builds on replica se... Closed
Operating System: ALL
Participants:

 Description   

it seems that if you do a background index build, we also build it on the background on the slave.

that might be desirable, but if we keep that, we need to (1) have a test for it.

(2) i think there may be an issue: you cannot do two background index builds at once. the administrator might do them one at a time on the master, but if the slave is slower, theymight overlap; in that case, the 2nd index wouldn't get built.

one solution is to do bg indexing only on the primary, but i think users would prefer to have it do background everywhere.

one fix might be : on the slave, do it in the background if one is not in progress; if one is alerady in progress, sleep and poll until that finishes. (kind of like sleepdelay). another option would be to just build int he foreground.


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