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

CREATE TABLE with template doesn't use isEncryptionEnabled flag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9, 2.8.1, 2.9.1
    • Fix Version/s: 2.11
    • Component/s: cache, sql
    • Labels:
      None
    • Release Note:
      Fixed CREATE TABLE not using encryptionEnabled property of cache template.

      Description

      If I create a cache template:

      CacheConfiguration encryptedCacheTemplate = new CacheConfiguration();
      encryptedCacheTemplate.setName("EncryptedCacheTemplate")
      .setEncryptionEnabled(true)
      .setBackups(1)
      .setCacheMode(CacheMode.PARTITIONED);
      ignite.addCacheConfiguration(encryptedCacheTemplate);

      And then try to use it:

      create table ignite_enc (id long primary key, name varchar) with "template=EncryptedCacheTemplate";

      The encryption setting is not used.

      Workaround: specify the encryption flag "manually":

      create table ignite_enc2 (id long primary key, name varchar) with "template=EncryptedCacheTemplate,encrypted=true"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdarlington Stephen Darlington
                Reporter:
                sdarlington Stephen Darlington
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 20m
                  20m