[ 
https://issues.apache.org/jira/browse/IGNITE-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189836#comment-16189836
 ] 

Dmitriy Pavlov commented on IGNITE-6552:
----------------------------------------

In corner case we need to keep at least 1 finished checkpoint (we dont' count 
incompleted). For more info please see
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-WALhistorysize

We can't keep less than 1 completed CP, because we will not be able to restore. 
We should avoid applying timeout if we remove latest completed checkpoint.

> The ability to set WAL history size in time units
> -------------------------------------------------
>
>                 Key: IGNITE-6552
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6552
>             Project: Ignite
>          Issue Type: Improvement
>          Components: persistence
>    Affects Versions: 2.2
>            Reporter: Vladislav Pyatkov
>
> We can to set size of WAL history in number of checkpoints.
> {code}
> org.apache.ignite.configuration.PersistentStoreConfiguration#setWalHistorySize
> {code}
> But it is not convenient fro end user. Nobody to say how many checkpoint to 
> occur over several minutes.
> I think, it will be better if we will have ability to set WAL history size in 
> time units (milliseconds for example).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to