You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/01/27 10:04:00 UTC
[jira] [Commented] (IGNITE-14067) CREATE TABLE with template
doesn't use isEncryptionEnabled flag
[ https://issues.apache.org/jira/browse/IGNITE-14067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272733#comment-17272733 ]
Ignite TC Bot commented on IGNITE-14067:
----------------------------------------
{panel:title=Branch: [pull/8710/head] Base: [master] : Possible Blockers (3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache 2{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5845275]]
* IgniteCacheTestSuite2: GridCachePartitionedEvictionSelfTest.testEvictionTxPessimisticRepeatableRead - Test has low fail rate in base branch 0,0% and is not flaky
{color:#d04437}Java Client{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5845237]]
* IgniteClientTestSuite: ClientTcpSslDirectMultiNodeSelfTest.testTopologyListener - Test has low fail rate in base branch 0,0% and is not flaky
{color:#d04437}Basic 1{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5845258]]
{panel}
{panel:title=Branch: [pull/8710/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5845318&buildTypeId=IgniteTests24Java8_RunAll]
> 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, 2.8.1, 2.9.1
> Reporter: Stephen Darlington
> Assignee: Stephen Darlington
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)