You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/08 10:28:58 UTC
[GitHub] [shardingsphere] strongduanmu opened a new issue, #17449: Metadata can't be loaded when executing `CREATE SCHEMA.TABLE` statement in encrypt scenario
strongduanmu opened a new issue, #17449:
URL: https://github.com/apache/shardingsphere/issues/17449
## Bug Report
### Which version of ShardingSphere did you use?
https://github.com/apache/shardingsphere/commit/3ebf5143c9bb818231b50da5b461d392d29ba4ff
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
Execute `CREATE SCHEMA test_schema_1;`, and load encrypt metadata successfully.
### Actual behavior
Metadata can't be loaded when executing `CREATE SCHEMA.TABLE` statement in encrypt scenario.
Following is my encrypt config.
```yaml
databaseName: encrypt_db
dataSources:
ds_0:
url: jdbc:opengauss://127.0.0.1:15432/encrypt_ds_0
username: gaussdb
password: Sphere@123
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
ds_1:
url: jdbc:opengauss://127.0.0.1:15432/encrypt_ds_1
username: gaussdb
password: Sphere@123
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
rules:
- !ENCRYPT
encryptors:
aes_encryptor:
type: AES
props:
aes-key-value: 123456abc
md5_encryptor:
type: MD5
tables:
t_order:
columns:
content:
plainColumn: content_plain
cipherColumn: content_cipher
encryptorName: aes_encryptor
```
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zjcnb closed issue #17449: Metadata can't be loaded when executing `CREATE SCHEMA.TABLE` statement in encrypt scenario
Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #17449: Metadata can't be loaded when executing `CREATE SCHEMA.TABLE` statement in encrypt scenario
URL: https://github.com/apache/shardingsphere/issues/17449
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org