fix stream backend convert
This commit is contained in:
parent
b74105727d
commit
77261068e0
|
@ -59,7 +59,7 @@ typedef struct SStreamTask SStreamTask;
|
||||||
typedef struct SStreamQueue SStreamQueue;
|
typedef struct SStreamQueue SStreamQueue;
|
||||||
typedef struct SStreamTaskSM SStreamTaskSM;
|
typedef struct SStreamTaskSM SStreamTaskSM;
|
||||||
|
|
||||||
#define SSTREAM_TASK_VER 3
|
#define SSTREAM_TASK_VER 2
|
||||||
#define SSTREAM_TASK_INCOMPATIBLE_VER 1
|
#define SSTREAM_TASK_INCOMPATIBLE_VER 1
|
||||||
#define SSTREAM_TASK_NEED_CONVERT_VER 2
|
#define SSTREAM_TASK_NEED_CONVERT_VER 2
|
||||||
|
|
||||||
|
|
|
@ -1759,7 +1759,7 @@ int32_t taskDbOpenCfByKey(STaskDbWrapper* pDb, const char* key) {
|
||||||
|
|
||||||
rocksdb_column_family_handle_t* cf =
|
rocksdb_column_family_handle_t* cf =
|
||||||
rocksdb_create_column_family(pDb->db, pDb->pCfOpts[idx], ginitDict[idx].key, &err);
|
rocksdb_create_column_family(pDb->db, pDb->pCfOpts[idx], ginitDict[idx].key, &err);
|
||||||
if (err != NULL) {
|
if (idx != 0 && err != NULL) {
|
||||||
stError("failed to open cf, key:%s, reason: %s", key, err);
|
stError("failed to open cf, key:%s, reason: %s", key, err);
|
||||||
taosMemoryFree(err);
|
taosMemoryFree(err);
|
||||||
code = -1;
|
code = -1;
|
||||||
|
|
Loading…
Reference in New Issue