Kirill Tkalenko created IGNITE-26038:
----------------------------------------

             Summary: Make raft snapshot install wait asynchronous
                 Key: IGNITE-26038
                 URL: https://issues.apache.org/jira/browse/IGNITE-26038
             Project: Ignite
          Issue Type: Improvement
            Reporter: Kirill Tkalenko
            Assignee: Kirill Tkalenko


For a scenario involving tables that have a lot of data written to them and 
rebalancing via raft snapshots. For example, for a cluster of 3 nodes that have 
tables in a zone with one replica, and after loading all the data, we decided 
to change the number of replicas to 3 nodes. We can get starvation of the raft 
thread pool because there is a synchronous wait for the entire snapshot to 
install, which can take a long time. To avoid starvation, we need to make the 
snapshot install asynchronous.

For a starting point, see 
*org.apache.ignite.internal.partition.replicator.raft.snapshot.incoming.IncomingSnapshotCopier#join*.



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

Reply via email to