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 "damian.pawski" <dp...@gmail.com> on 2018/11/09 10:23:54 UTC

Re: Master Slave Replication Issue

Hi, 
We have switched from 5.4 to 7.2.1 and we have started to see more issues
with the replication.
I think it may be related to the fact that a delta import was started during
a full import (not the case for the Solr 5.4).

I am getting below error:

XXX: java.lang.IllegalArgumentException:java.lang.IllegalArgumentException:
Directory MMapDirectory@XXXXXXX\index
lockFactory=org.apache.lucene.store.NativeFSLockFactory@21ff4974 still has
pending deleted files; cannot initialize IndexWriter

Are there more known issues with Solr 7.X and the replication?
Based on https://issues.apache.org/jira/browse/SOLR-11938 I can not trust
Solr 7.X anymore.

How can I fix the 
"XXX: java.lang.IllegalArgumentException:java.lang.IllegalArgumentException:
Directory MMapDirectory@XXXXXXX\index
lockFactory=org.apache.lucene.store.NativeFSLockFactory@21ff4974 still has
pending deleted files; cannot initialize IndexWriter
"
issue?

Thank you
Damian



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Master Slave Replication Issue

Posted by Erick Erickson <er...@gmail.com>.
Hmmm, afraid I'm out of my depth, perhaps some of the Lucene
folks can chime in.

 Sorry I can't be more  help.
Erick
On Mon, Nov 12, 2018 at 12:27 AM damian.pawski <dp...@gmail.com> wrote:
>
> Hi
>
> I had to re-create the index as some tokenizers are not longer supported on
> the 7.x version.
> I have a fresh 7.x index.
>
> Thank you
> Damian
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Master Slave Replication Issue

Posted by "damian.pawski" <dp...@gmail.com>.
Hi

I had to re-create the index as some tokenizers are not longer supported on
the 7.x version.
I have a fresh 7.x index.

Thank you
Damian



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Master Slave Replication Issue

Posted by "damian.pawski" <dp...@gmail.com>.
Hi

I had to re-create the index, as some Tokenizers are no longer supported on
7.X, so I have a fresh 7.x index, but still having issues with the
replication.

Thank you
Damian



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Master Slave Replication Issue

Posted by Erick Erickson <er...@gmail.com>.
Damian:

You say you've switched from 5x to 7x. Did you try to use an index
created with 5x or did you index fresh with 7x? Solr/Lucene do not
guarantee backward compatibility across more than one major version.

Best,
Erick
On Fri, Nov 9, 2018 at 2:34 AM damian.pawski <dp...@gmail.com> wrote:
>
> Hi,
> We have switched from 5.4 to 7.2.1 and we have started to see more issues
> with the replication.
> I think it may be related to the fact that a delta import was started during
> a full import (not the case for the Solr 5.4).
>
> I am getting below error:
>
> XXX: java.lang.IllegalArgumentException:java.lang.IllegalArgumentException:
> Directory MMapDirectory@XXXXXXX\index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@21ff4974 still has
> pending deleted files; cannot initialize IndexWriter
>
> Are there more known issues with Solr 7.X and the replication?
> Based on https://issues.apache.org/jira/browse/SOLR-11938 I can not trust
> Solr 7.X anymore.
>
> How can I fix the
> "XXX: java.lang.IllegalArgumentException:java.lang.IllegalArgumentException:
> Directory MMapDirectory@XXXXXXX\index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@21ff4974 still has
> pending deleted files; cannot initialize IndexWriter
> "
> issue?
>
> Thank you
> Damian
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html