Merge pull request #25636 from taosdata/fix/fixRocksdbInitFailed3
Fix/fixRocksdbInitFailed3
This commit is contained in:
commit
48ae3ee53b
|
@ -1964,6 +1964,7 @@ STaskDbWrapper* taskDbOpenImpl(char* key, char* statePath, char* dbPath) {
|
|||
stInfo("newly create db, need to restart");
|
||||
// pre create db
|
||||
pTaskDb->db = rocksdb_open(pTaskDb->pCfOpts[0], dbPath, &err);
|
||||
if (pTaskDb->db == NULL) goto _EXIT;
|
||||
rocksdb_close(pTaskDb->db);
|
||||
|
||||
if (cfNames != NULL) {
|
||||
|
|
Loading…
Reference in New Issue