commit
31e5c26bdd
|
@ -22,7 +22,7 @@ extern "C" {
|
|||
|
||||
int32_t tpInit();
|
||||
void tpCleanUp();
|
||||
void tpUpdateTs(int32_t *seq, void *pMsg);
|
||||
void tpUpdateTs(int32_t vgId, int64_t *seq, void *pMsg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ int32_t mnodeProcessAlterDbMsg(SMnodeMsg *pMsg);
|
|||
#ifndef _TOPIC
|
||||
int32_t tpInit() { return 0; }
|
||||
void tpCleanUp() {}
|
||||
void tpUpdateTs(int32_t *seq, void *pMsg) {}
|
||||
void tpUpdateTs(int32_t vgId, int64_t *seq, void *pMsg) {}
|
||||
#endif
|
||||
|
||||
static void mnodeDestroyDb(SDbObj *pDb) {
|
||||
|
|
|
@ -40,7 +40,7 @@ typedef struct {
|
|||
int32_t queuedWMsg;
|
||||
int32_t queuedRMsg;
|
||||
int32_t flowctrlLevel;
|
||||
int32_t sequence; // for topic
|
||||
int64_t sequence; // for topic
|
||||
int8_t status;
|
||||
int8_t role;
|
||||
int8_t accessState;
|
||||
|
|
|
@ -142,7 +142,7 @@ static int32_t vnodeProcessSubmitMsg(SVnodeObj *pVnode, void *pCont, SRspRet *pR
|
|||
vTrace("vgId:%d, submit msg is processed", pVnode->vgId);
|
||||
|
||||
if (pVnode->dbType == TSDB_DB_TYPE_TOPIC && pVnode->role == TAOS_SYNC_ROLE_MASTER) {
|
||||
tpUpdateTs(&pVnode->sequence, pCont);
|
||||
tpUpdateTs(pVnode->vgId, &pVnode->sequence, pCont);
|
||||
}
|
||||
|
||||
// save insert result into item
|
||||
|
|
Loading…
Reference in New Issue