[
https://issues.apache.org/jira/browse/IGNITE-21929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksey Plekhanov resolved IGNITE-21929.
----------------------------------------
Release Note: Fixed pending tree redundant cleanup on entries expiration
Resolution: Fixed
[~yuri.naryshkin], looks good to me. Merged to master. Thanks for the
contribution!
> 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
> Fix For: 2.17
>
> Time Spent: 50m
> 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)