[
https://issues.apache.org/jira/browse/IGNITE-20365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin updated IGNITE-20365:
-------------------------------------
Description:
Some tests, e.g. testTxStateReplicaRequestMissLeaderMiss expects primary
replica to be changed. Earlier when primary replica was collocated with leader
refreshAndGetLeaderWithTerm was used in order to change leader and thus primary
replica. Now when Placement driver assigns primary replica it's no longer the
case. All in all, some PlacementDriver#changePrimaryReplica or similar will be
useful, at least within tests.
> Add ability to intentially change primaryReplica
> ------------------------------------------------
>
> Key: IGNITE-20365
> URL: https://issues.apache.org/jira/browse/IGNITE-20365
> Project: Ignite
> Issue Type: Bug
> Reporter: Alexander Lapin
> Priority: Major
>
> Some tests, e.g. testTxStateReplicaRequestMissLeaderMiss expects primary
> replica to be changed. Earlier when primary replica was collocated with
> leader refreshAndGetLeaderWithTerm was used in order to change leader and
> thus primary replica. Now when Placement driver assigns primary replica it's
> no longer the case. All in all, some PlacementDriver#changePrimaryReplica or
> similar will be useful, at least within tests.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)