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 <markrmil...@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

Reply via email to