[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-30 Thread Amelchev Nikita (Jira)


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

Amelchev Nikita updated IGNITE-14424:
-
Ignite Flags: Release Notes Required
Release Note: Fixed cache group re-encryption after cluster secondary 
activation

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


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-29 Thread Pavel Pereslegin (Jira)


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

Pavel Pereslegin updated IGNITE-14424:
--
Ignite Flags:   (was: Release Notes Required)

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


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-04 Thread Amelchev Nikita (Jira)


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

Amelchev Nikita updated IGNITE-14424:
-
Ignite Flags: Release Notes Required

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


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-04 Thread Amelchev Nikita (Jira)


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


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-04 Thread Alexey Gidaspov (Jira)


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

Alexey Gidaspov updated IGNITE-14424:
-
Fix Version/s: (was: 2.11)
   2.12

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


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-06-02 Thread Pavel Pereslegin (Jira)


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

Pavel Pereslegin updated IGNITE-14424:
--
Fix Version/s: 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: 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 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)


[jira] [Updated] (IGNITE-14424) Cache group re-encryption does not start after cluster secondary activation.

2021-04-23 Thread Pavel Pereslegin (Jira)


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

Pavel Pereslegin updated IGNITE-14424:
--
Affects Version/s: 2.10

> 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
>  Time Spent: 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 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)