Hi Hoss,

Thanks a lot for your clear answer.
It's very clear.

Thanks


hossman wrote:
> 
> 
> : I would like to get how is a snapshot really. It's obviously a hard link
> to
> : the files.
> : But it just contain the last update ?? 
> 
> the nature of lucene indexes is that files are never modified -- only 
> created, or deleted.
> 
> this makes rsyncing very efficient when updates have been made to an 
> index, because only new new files exist, and only those new files need to 
> be synced.
> 
> : My problem is ... Ive cronjob to commit and auto start snapshooter every
> : 5mn, which works properly.
> : And on my slaves I've cronjob every 5minute to snapshoot. But I don"t
> get
> : why, it doesn't take every snapshot files ... maybe bad syncronisation,
> or
> : it's too long to install?
> 
> in your case, it looks like two things are happening...  note that the 
> snapinstaller command run at 16:35:36 doesn't seem to finish until 
> 16:41:37 (361 seconds later) and it encountered an error that it couldn't 
> connect to your solr port (do the scripts have hte correct host:port 
> configuration?)
> 
> the second thing to notice is that everytime snapinstaller runs after 
> that, it says the most current snapshot is snapshot.20090205162502 ... 
> which means either snappuller isn't running often enough, or snapshooter 
> isn't producing snapshots as frequently as you think it is.
> 
> FYI: typically people cron "snappuller; snapinstaller" together as a 
> single crontab entry ...
> 
> http://wiki.apache.org/solr/CollectionDistribution
> 
> 
> : 2009/02/05 16:35:36 started by root
> : 2009/02/05 16:35:36 command: /data/solr/books/bin/snapinstaller
> : 2009/02/05 16:35:37 installing snapshot
> : /data/solr/books/data/snapshot.20090205162502
> : 2009/02/05 16:35:38 notifing Solr to open a new Searcher
> : 2009/02/05 16:40:04 started by root
> : 2009/02/05 16:40:04 command: /data/solr/books/bin/snapinstaller
> : 2009/02/05 16:40:04 latest snapshot
> : /data/solr/books/data/snapshot.20090205162502 already installed
> : 2009/02/05 16:40:04 ended (elapsed time: 0 sec)
> : 2009/02/05 16:41:37 failed to connect to Solr server
> : 2009/02/05 16:41:37 snapshot installed but Solr server has not open a
> new
> : Searcher
> : 2009/02/05 16:41:37 failed (elapsed time: 361 sec)
> : 2009/02/05 16:54:40 started by root
> : 2009/02/05 16:54:40 started by root
> : 2009/02/05 16:54:40 command: /data/solr/books/bin/snapinstaller
> : 2009/02/05 16:54:40 command: /data/solr/books/bin/snapinstaller
> : 2009/02/05 16:54:40 latest snapshot
> : /data/solr/books/data/snapshot.20090205162502 already installed
> : 2009/02/05 16:54:40 latest snapshot
> : /data/solr/books/data/snapshot.20090205162502 already installed
> : 2009/02/05 16:54:40 ended (elapsed time: 0 sec)
> : 2009/02/05 16:54:40 ended (elapsed time: 0 sec)
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/several-snapshot-...-tp21855239p21992862.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to