lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Tandon <amantandon...@gmail.com>
Subject Re: Mismatch between replication API & index.properties
Date Thu, 01 Aug 2019 04:19:21 GMT
Yes, that is what my understanding is but if you see the Replication
handler response it is saying it is referring to the index folder not to
the one shown in index.properties. Due to that confusion I am not able to
delete the folder.

Is this some bug or default behavior where irrespective of the
index.properties it will always shows the index folder only.

Solr version - 6.6.2

On Wed, Jul 31, 2019, 21:17 jai dutt <ghost.ridder2008@gmail.com> wrote:

> It's correct behaviour , Solr put replica index file in this format only
> and you can find latest index pointing in index.properties file. Usually
> afer successful full replication Solr remove old timestamp dir.
>
> On Wed, 31 Jul, 2019, 8:02 PM Aman Tandon, <amantandon.10@gmail.com>
> wrote:
>
> > Hi,
> >
> > We are having a situation where whole disk space is full and in server
> > where we are seeing the multiple index directories ending with the
> > timestamp. Upon checking the index.properties file for a particular shard
> > replica, it is not referring to the folder name *index *but when I am
> using
> > the replication API I am seeing it is pointing to *index *folder. Am I
> > missing something? Kindly advise.
> >
> > *directory*
> >
> >
> >
> > *drwxrwxr-x. 2 fusion fusion 69632 Jul 30 23:24 indexdrwxrwxr-x. 2 fusion
> > fusion 28672 Jul 31 03:02 index.20190731005047763drwxrwxr-x. 2 fusion
> > fusion  4096 Jul 31 10:20 index.20190731095757917*
> > -rw-rw-r--. 1 fusion fusion        78  Jul 31 03:02 index.properties
> > -rw-rw-r--. 1 fusion fusion       296 Jul 31 09:56 replication.properties
> > drwxrwxr-x. 2 fusion fusion  4096 Jan 16  2019 snapshot_metadata
> > drwxrwxr-x. 2 fusion fusion  4096 Jul 30 23:24 tlog
> >
> > *index.properties*
> >
> > #index.properties
> > #Wed Jul 31 03:02:12 EDT 2019
> > index=index.20190731005047763
> >
> > *REPLICATION API STATUS*
> >
> > <lst name="details">
> > <str name="indexSize">280.56 GB</str>
> > <str name="indexPath">
> > */opt/solr/xxxxx_shard4_replica3/data/index/*
> > </str>
> > <arr name="commits">...</arr>
> > <str name="isMaster">true</str>
> > <str name="isSlave">false</str>
> > <long name="indexVersion">1564543395563</long>
> > <long name="generation">98884</long>
> > <lst name="master">...</lst>
> > <lst name="slave">...</lst>
> >
> > Regards,
> > Aman
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message