-----Original message----- > From:Otis Gospodnetic <otis.gospodne...@gmail.com> > Sent: Wednesday 20th November 2013 16:40 > To: solr-user@lucene.apache.org > Subject: Multiple data/index.YYYYMMDD.... dirs == bug? > > Hi, > > When full index replication is happening via SnapPuller, a temporary > "timestamped" index dir is created. > > Questions: > 1) Under normal circumstances could more than 1 timestamped index > directory ever be present?
No, except during replication. > 2) Should there always be an the .../data/index directory present? No, the directory can also be index.<TIME>. It is pointed to from index.properties. > > I'm asking because I see the following situation on one SolrCloud node: > > $ du -ms /home/solr/data/* > 1188367 /home/solr/data/index.20131118152402344 > 709050 /home/solr/data/index.20131119210950598 > 1 /home/solr/data/index.properties > 1 /home/solr/data/replication.properties > 3053 /home/solr/data/tlog > > Note: > 1) there are 2 timestamped directories > 2) there is no data/index directory This is not good but you can safely remove all that are not in index.properties, usually keep only the newest. > > According to SnapPuller, the timestamped index dir is a temporary dir > and should be removed after replication..... unless maybe some error > case is not being handled correctly and timestamped index dirs are > "leaking". It can happen when Solr dies, they are not removed on start up. > > Thanks, > Otis > -- > Performance Monitoring * Log Analytics * Search Analytics > Solr & Elasticsearch Support * http://sematext.com/ >