From c4898bffd8d9c4f718bf2aa798bfe9474c042dd6 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Thu, 7 Sep 2023 15:23:00 +0800 Subject: [PATCH] fix:[TS-3922] make SStreamObj->->currentTick aligned by 8 --- source/dnode/mnode/impl/inc/mndDef.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/dnode/mnode/impl/inc/mndDef.h b/source/dnode/mnode/impl/inc/mndDef.h index 1bf13c8fb5..60f5683488 100644 --- a/source/dnode/mnode/impl/inc/mndDef.h +++ b/source/dnode/mnode/impl/inc/mndDef.h @@ -664,9 +664,15 @@ typedef struct SStreamConf { } SStreamConf; typedef struct { - char name[TSDB_STREAM_FNAME_LEN]; // ctl SRWLatch lock; + + // 3.0.20 + int64_t checkpointFreq; // ms + int64_t currentTick; // do not serialize + int64_t deleteMark; + int8_t igCheckUpdate; + // create info int64_t createTime; int64_t updateTime; @@ -701,11 +707,7 @@ typedef struct { SSchemaWrapper outputSchema; SSchemaWrapper tagSchema; - // 3.0.20 - int64_t checkpointFreq; // ms - int64_t currentTick; // do not serialize - int64_t deleteMark; - int8_t igCheckUpdate; + char name[TSDB_STREAM_FNAME_LEN]; // 3.0.5. int64_t checkpointId;