Stephen Darlington created IGNITE-14067:
-------------------------------------------
Summary: CREATE TABLE with template doesn't use isEncryptionEnabled flag
Key: IGNITE-14067
URL:
https://issues.apache.org/jira/browse/IGNITE-14067 Project: Ignite
Issue Type: Bug
Components: cache, sql
Affects Versions: 2.9.1, 2.8.1, 2.9
Reporter: Stephen Darlington
Assignee: Stephen Darlington
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"}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)