jm wrote:
Thanks for the reply Mike.
You can also wrap any other deletion policy (it doesn't have to be
KeepOnlyLastCommit).
When you want to do a backup, make sure to do try/finally, ie:
IndexCommitPoint cp = dp.snapshot();
try {
Collection files = cp.getFileNames();
}
Thanks for the reply Mike.
> You can also wrap any other deletion policy (it doesn't have to be
> KeepOnlyLastCommit).
>
> When you want to do a backup, make sure to do try/finally, ie:
>
>IndexCommitPoint cp = dp.snapshot();
>try {
> Collection files = cp.getFileNames();
>
>
jm wrote:
Hi guys,
I want to make use of the possibylity of hot backups in 2.3. If i
understand correctly, the only thing i need to do is to open the
writers with SnapshotDeletionPolicy, is that correct?
Right.
SnapshotDeletionPolicy dp = new SnapshotDeletionPolicy(new
KeepOnlyLastCommitDe
Hi guys,
I want to make use of the possibylity of hot backups in 2.3. If i
understand correctly, the only thing i need to do is to open the
writers with SnapshotDeletionPolicy, is that correct?
SnapshotDeletionPolicy dp = new SnapshotDeletionPolicy(new
KeepOnlyLastCommitDeletionPolicy());
final I