Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14424

Cache group re-encryption does not start after cluster secondary activation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10
    • 2.11
    • None
    • None
    • Fixed cache group re-encryption after cluster secondary activation
    • Release Notes Required

    Description

      Cache group re-encryption does not start after cluster secondary activation.

      Reproducer

          @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
          }
      

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m