chore: remove obsolete codes
This commit is contained in:
parent
07f043f143
commit
e4a86aa70a
|
@ -89,7 +89,6 @@ int32_t vnodeGetCtbNum(SVnode *pVnode, int64_t suid, int64_t *num);
|
||||||
int32_t vnodeGetStbColumnNum(SVnode *pVnode, tb_uid_t suid, int *num);
|
int32_t vnodeGetStbColumnNum(SVnode *pVnode, tb_uid_t suid, int *num);
|
||||||
int32_t vnodeGetTimeSeriesNum(SVnode *pVnode, int64_t *num);
|
int32_t vnodeGetTimeSeriesNum(SVnode *pVnode, int64_t *num);
|
||||||
int32_t vnodeGetAllCtbNum(SVnode *pVnode, int64_t *num);
|
int32_t vnodeGetAllCtbNum(SVnode *pVnode, int64_t *num);
|
||||||
bool vnodeSkipTimeSeries(SVnode *pVnode, const char *stbName);
|
|
||||||
|
|
||||||
void vnodeResetLoad(SVnode *pVnode, SVnodeLoad *pLoad);
|
void vnodeResetLoad(SVnode *pVnode, SVnodeLoad *pLoad);
|
||||||
int32_t vnodeGetLoad(SVnode *pVnode, SVnodeLoad *pLoad);
|
int32_t vnodeGetLoad(SVnode *pVnode, SVnodeLoad *pLoad);
|
||||||
|
|
|
@ -624,14 +624,6 @@ static int32_t vnodeGetTimeSeriesBlackList(SVnode *pVnode) {
|
||||||
return tbSize;
|
return tbSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool vnodeSkipTimeSeries(SVnode *pVnode, const char *stbName) {
|
|
||||||
char *dbName = strchr(pVnode->config.dbname, '.');
|
|
||||||
if (!dbName || 0 != strncmp(++dbName, "log", TSDB_DB_NAME_LEN)) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
int32_t metaInitTbFilterCache(void *pVnode) {
|
int32_t metaInitTbFilterCache(void *pVnode) {
|
||||||
char *dbName = strchr(pVnode->config.dbname, '.');
|
char *dbName = strchr(pVnode->config.dbname, '.');
|
||||||
if (!dbName) return 0;
|
if (!dbName) return 0;
|
||||||
|
|
Loading…
Reference in New Issue