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

Aleksandr Polovtcev updated IGNITE-20796:
-----------------------------------------
    Reviewer: Denis Chudov

> Refactor replica stop in TableManager
> -------------------------------------
>
>                 Key: IGNITE-20796
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20796
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There exists a copy-pasted piece of code responsible for stopping Replicas' 
> resources in the Table Manager. This leads to subtle errors, e.g. sometimes 
> we don't close partition trackers. This code should be extracted into a 
> method and used uniformly in all these places. 
> We must also ensure the following order of actions when a Replica is stopped:
> # Partition trackers are closed;
> # Replica Service is stopped;
> # Raft group is stopped;
> # GC is performed on the Partition Storage.



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

Reply via email to