Kirill Tkalenko created IGNITE-26339:
----------------------------------------

             Summary: Make partition generation increase non-blocking
                 Key: IGNITE-26339
                 URL: https://issues.apache.org/jira/browse/IGNITE-26339
             Project: Ignite
          Issue Type: Improvement
            Reporter: Kirill Tkalenko


At the moment, increasing the partition generation (on its destruction) is done 
with a small lock, it would be good to make it non-blocking. To increase the 
performance of the checkpoint and the partition destruction operation.

High-level idea:
On each operation of writing a dirty page, check that if the partition 
generation has changed, then skip such a page and do nothing.

This can be achieved, for example, by using an operation counter and some flag 
"partition destroyed". When the operation starts and sees that the flag has 
changed, then skip the operation, if nothing has changed, then the destruction 
of the partition will change the flag and wait for all operations to complete 
and then change the partition generation.

It can also, within the framework of this task, get rid of cleaning the dirty 
page on the checkpoint record.



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

Reply via email to