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

Yuri Naryshkin updated IGNITE-21929:
------------------------------------
    Description: 
Currently when records expire with high rate, several threads (sys-stripe, 
client-connector) try to cleanup those records and get stuck waiting to acquire 
lock on main page of PendingEntriesTree. This is unnecessary contention.

After introducing fix for IGNITE-14341 expired records PendingEntriesTree 
cleanup is done using range. After that each record is deleted from dataTree. 
And after that another attempt is done to remove each record from 
PendingEntriesTree once again, which is not necessary as the record is already 
removed.

This ticket is to improve cleaning up expired entries by skipping second 
attempt to remove each record from PendingEntriesTree.

  was:Currently 


> Skip pending list extra cleanup in TTL Manager
> ----------------------------------------------
>
>                 Key: IGNITE-21929
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21929
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Yuri Naryshkin
>            Assignee: Yuri Naryshkin
>            Priority: Major
>              Labels: ise
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently when records expire with high rate, several threads (sys-stripe, 
> client-connector) try to cleanup those records and get stuck waiting to 
> acquire lock on main page of PendingEntriesTree. This is unnecessary 
> contention.
> After introducing fix for IGNITE-14341 expired records PendingEntriesTree 
> cleanup is done using range. After that each record is deleted from dataTree. 
> And after that another attempt is done to remove each record from 
> PendingEntriesTree once again, which is not necessary as the record is 
> already removed.
> This ticket is to improve cleaning up expired entries by skipping second 
> attempt to remove each record from PendingEntriesTree.



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

Reply via email to