ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amelchev Nikita (Jira)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.
Date Fri, 04 Jun 2021 13:48:00 GMT

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

Amelchev Nikita updated IGNITE-14424:
-------------------------------------
    Fix Version/s:     (was: 2.12)
                   2.11

> 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
>  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)

Mime
View raw message