[ https://issues.apache.org/jira/browse/IGNITE-24089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mirza Aliev updated IGNITE-24089: --------------------------------- Description: h3. Motivation In order to ease the implementation of [https://issues.apache.org/jira/browse/IGNITE-23874|skeleton of the HA partition graceful start] it would we suitable to introduce new chain and link abstraction. h3. Definition of Done * New chain abstraction is implemented that allows to retrieve last link by the nodeName. {code:java} Link::chain.lastLink(nodeName){code} on input link1([A,B,C,D,E,F,G]) > link2([E,F,G]) > link3([G]) chain.lastLink(F) should return link2(E,F,G). * New link abstaction is introduced that allows to ** retrieve next link. In the example it will return link3([G] ** retrieve configurationIndex of the link ** retrieve set of the nodeNames was: h3. Motivation In order to ease the implementation of [https://issues.apache.org/jira/browse/IGNITE-23874|skeleton of the HA partition graceful start] it would we suitable to introduce new chain and link abstraction. h3. Definition of Done * New chain abstraction is implemented that allows to retrieve last link by the nodeName. {code:java} Link::chain.lastLink(nodeName){code} on input link1([A,B,C,D,E,F,G]) > link2([E,F,G]) > link3([G]) chain.lastLink(F) should return link2(E,F,G). * New link abstaction is introduced that allows to ** retrieve next link. ** retrieve configurationIndex of the link ** retrieve set of the nodeNames > Introduce chain and link abstractions > ------------------------------------- > > Key: IGNITE-24089 > URL: https://issues.apache.org/jira/browse/IGNITE-24089 > Project: Ignite > Issue Type: Improvement > Reporter: Alexander Lapin > Priority: Major > Labels: ignite-3 > > h3. Motivation > In order to ease the implementation of > [https://issues.apache.org/jira/browse/IGNITE-23874|skeleton of the HA > partition graceful start] it would we suitable to introduce new chain and > link abstraction. > h3. Definition of Done > * New chain abstraction is implemented that allows to retrieve last link by > the nodeName. > {code:java} > Link::chain.lastLink(nodeName){code} > on input link1([A,B,C,D,E,F,G]) > link2([E,F,G]) > link3([G]) > chain.lastLink(F) should return link2(E,F,G). > * New link abstaction is introduced that allows to > ** retrieve next link. In the example it will return link3([G] > ** retrieve configurationIndex of the link > ** retrieve set of the nodeNames > -- This message was sent by Atlassian Jira (v8.20.10#820010)