[ 
https://issues.apache.org/jira/browse/IGNITE-24907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Shergalis updated IGNITE-24907:
---------------------------------------
    Description: 
In some cases raft snapshot is not created, i.e. if *lastLogIndex* was not 
refreshed yet due to a race or because distance between snapshots is less than 
*snapshotLogIndexMargin*
 
We need a way to force snapshot creation. I suggest to add a *force* flag
 
If it is set we should return *EAGAIN* status when *lastLogIndex* equals to 
*lastSnapshotIndex* (it could be because of a race) and ignore margin setting

  was:
In some cases raft snapshot is not created, i.e. if *lastLogIndex* was not 
refreshed yet due to a race or because distance between snapshots is less than 
*snapshotLogIndexMargin*
 
We need a way to force snapshot creation. I suppose to add a *force* flag
 
If it is set we should return *EAGAIN* status when *lastLogIndex* equals to 
*lastSnapshotIndex* (it could be because of a race) and ignore margin setting


> Add method for a forced raft snapshot
> -------------------------------------
>
>                 Key: IGNITE-24907
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24907
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Philipp Shergalis
>            Assignee: Philipp Shergalis
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In some cases raft snapshot is not created, i.e. if *lastLogIndex* was not 
> refreshed yet due to a race or because distance between snapshots is less 
> than 
> *snapshotLogIndexMargin*
>  
> We need a way to force snapshot creation. I suggest to add a *force* flag
>  
> If it is set we should return *EAGAIN* status when *lastLogIndex* equals to 
> *lastSnapshotIndex* (it could be because of a race) and ignore margin setting



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to