From e68ae8f75647cd42a477effd553f5195d7a025dd Mon Sep 17 00:00:00 2001 From: dmchen Date: Wed, 10 Apr 2024 08:54:01 +0000 Subject: [PATCH] tdb break, try remove --- source/dnode/mgmt/mgmt_vnode/src/vmHandle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c index 858cf23309..c179d0748d 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c @@ -168,10 +168,13 @@ static void vmGenerateVnodeCfg(SCreateVnodeReq *pCreate, SVnodeCfg *pCfg) { #endif #if defined(TD_ENTERPRISE) + /* pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm; if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){ strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN); } + */ + pCfg->tdbEncryptAlgorithm = 0; #else pCfg->tdbEncryptAlgorithm = 0; #endif