Ah. I stand corrected. Thanks Wayne! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wayne Feick Sent: Tuesday, December 01, 2015 2:17 PM To: [email protected] Subject: Re: [MarkLogic Dev General] Re-index a replica database
No, if you deconfigure replication, reindex the replica, and then reconfigure replicaiton, the master will resychronize the replica and in doing so discard all the reindexed fragments and replace them with what it had in the first place. On 12/01/2015 02:07 PM, David Gorbet wrote: > Hmm, someone can correct me if I'm wrong, but if you disable replication, you > should then be able to then reindex the erstwhile replica cluster, then > re-enable replication. I just don't think you can reindex it while it's > acting as replica cluster. I defer to Wayne of course on this if I'm wrong... > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Whitby, > Rob > Sent: Tuesday, December 01, 2015 2:03 PM > To: MarkLogic Developer Discussion <[email protected]> > Subject: Re: [MarkLogic Dev General] Re-index a replica database > > Our setup consists of a master cluster and 2 slave clusters. We got > replacement hardware for the slaves, and configured them for db replication, > so had 4 slaves temporarily. We then realised that the timezone on the new > slaves was wrong, so updated it and restarted MarkLogic, but the indexes had > already been created with the wrong timezone causing incorrect results from > date range queries. > > I was after a way to reindex just the new slaves rather than having to > reindex the master cluster which I think (?) would have caused a complete > replication to all 4 slaves. In the end I deleted the replication config on > the new slaves, cleared the db, then added the replication config back. > > Also as it's possible to have different index config on master and slaves, I > thought reindexing a slave would be possible (the admin interface doesn't > help here btw - you can still click reindex but nothing happens). > > Cheers > Rob > > > ________________________________________ > From: [email protected] > [[email protected]] on behalf of David Gorbet > [[email protected]] > Sent: 01 December 2015 19:43 > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] Re-index a replica database > > Out of interest, what's the scenario here? Thx. > > From: [email protected] > [mailto:[email protected]] On Behalf Of Wayne > Feick > Sent: Tuesday, December 01, 2015 11:06 AM > To: [email protected] > Subject: Re: [MarkLogic Dev General] Re-index a replica database > > No, there is no way to reindex a replica database. > > Wayne. > > On 11/25/2015 04:40 AM, Whitby, Rob wrote: > Hi, > > Is it possible to force re-index a replica database? Ideally I'd like to do > it without re-indexing the master db and having it replicate all the content > over. > > Thanks > Rob > > > > > _______________________________________________ > > General mailing list > > [email protected]<mailto:[email protected] > > > > Manage your subscription at: > > http://developer.marklogic.com/mailman/listinfo/general > > > > -- > > Wayne Feick > > Principal Engineer > > MarkLogic Corporation > > [email protected]<mailto:[email protected]> > > Phone: +1 650 655 2378 > > www.marklogic.com<http://www.marklogic.com> > > > > This e-mail and any accompanying attachments are confidential. The > information > > is intended solely for the use of the individual to whom it is > addressed. Any > > review, disclosure, copying, distribution, or use of this e-mail > communication > > by others is strictly prohibited. If you are not the intended > recipient, please > > notify us immediately by returning this message to the sender and > delete all > > copies. Thank you for your cooperation. > > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general -- Wayne Feick Principal Engineer MarkLogic Corporation [email protected] Phone: +1 650 655 2378 www.marklogic.com This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
