lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul നോബിള്‍ नोब्ळ्" <noble.p...@gmail.com>
Subject Re: collectionDistribution vs SolrReplication
Date Mon, 05 Jan 2009 18:26:42 GMT
The default IndexDeletionPolicy just keeps the last commit only
(KeepOnlyLastCommitDeletionPolicy) .Files belonging to older commits
are removed. If the files are needed longer for replication, they are
leased . The lease is extended 10 secs at a time. Once all the slaves
have copied the lease is never extended and the files will be purged.

In the snapshot based system , unless the snapshots are deleted from
the file system the old files will continue to live on the disk
--Noble

On Mon, Jan 5, 2009 at 6:59 PM, Mark Miller <markrmiller@gmail.com> wrote:
> Noble Paul ??????? ?????? wrote:
>>
>> * SolrReplication does not create snapshots . So you have less cleanup
>> to do. The script based replication results is more disk space
>> consumption (especially if you do frequent commits)
>>
>
> Doesn't SolrReplication effectively take a snapshot by using a custom
> IndexDeletionPolicy to keep the right index files around? Isn't that
> maintaining a snapshot?
>
> Could you elaborate on the difference Noble?
>
> - Mark
>



-- 
--Noble Paul

Mime
View raw message