You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by accid <ac...@gmx.net> on 2010/11/05 11:07:14 UTC

Slave has random indexversion

Hi,

when I delete the /data directory and restart the slave, it creates a random
indexversion number, which can be higher than the master indexversion
number. If the newly started slave has a higher number than the master, a
replication is impossible. I want to stresstest the replication, so manually
copying over the index to the slave is not an option.

What am I doing wrong? And where does the magic indexversion number come
from .. where is it stored?

br

accid

Re: Slave has random indexversion

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Fri, Nov 5, 2010 at 3:07 AM, accid <ac...@gmx.net> wrote:

> Hi,
>
> when I delete the /data directory and restart the slave, it creates a
> random
> indexversion number, which can be higher than the master indexversion
> number. If the newly started slave has a higher number than the master, a
> replication is impossible. I want to stresstest the replication, so
> manually
> copying over the index to the slave is not an option.
>
> What am I doing wrong? And where does the magic indexversion number come
> from .. where is it stored?
>
>
I think the indexversion is just the timestamp at which the index is
modified. The replication should still work though because the slave will
not have the files that it should have had and therefore a full index
replication should happen.

-- 
Regards,
Shalin Shekhar Mangar.