[
https://issues.apache.org/jira/browse/IGNITE-14424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-14424:
--------------------------------------
Comment: was deleted
(was: [~agidaspov], I think it was added by mistake, removed it, thanks for
pointing this out.)
> Cache group re-encryption does not start after cluster secondary activation.
> ----------------------------------------------------------------------------
>
> Key: IGNITE-14424
> URL: https://issues.apache.org/jira/browse/IGNITE-14424
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.10
> Reporter: Pavel Pereslegin
> Assignee: Pavel Pereslegin
> Priority: Major
> Fix For: 2.11
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Cache group re-encryption does not start after cluster secondary activation.
> Reproducer
> {code:java}
> @Test
> public void testDeactivation() throws Exception {
> pageScanRate = 2;
> checkpointFreq = 10;
> T2<IgniteEx, IgniteEx> nodes = startTestGrids(true);
> IgniteEx node0 = nodes.get1();
> IgniteEx node1 = nodes.get2();
> createEncryptedCache(node0, node1, cacheName(), null);
> loadData(100_000);
>
> node0.encryption().changeCacheGroupKey(Collections.singleton(cacheName())).get();
>
> assertTrue(isReencryptionInProgress(Collections.singleton(cacheName())));
> node0.cluster().state(ClusterState.INACTIVE);
>
> assertFalse(isReencryptionInProgress(Collections.singleton(cacheName())));
>
> node0.context().encryption().setReencryptionRate(DFLT_REENCRYPTION_RATE_MBPS);
>
> node1.context().encryption().setReencryptionRate(DFLT_REENCRYPTION_RATE_MBPS);
> node0.cluster().state(ClusterState.ACTIVE);
> checkGroupKey(CU.cacheId(cacheName()), INITIAL_KEY_ID + 1,
> MAX_AWAIT_MILLIS); // failing here
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)