Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
61380b78
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
61380b78
编写于
7月 06, 2023
作者:
K
kailixu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: test case adaption
上级
25d9405b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
25 addition
and
17 deletion
+25
-17
source/dnode/vnode/src/sma/smaRollup.c
source/dnode/vnode/src/sma/smaRollup.c
+1
-1
tests/script/tsim/sma/rsmaPersistenceRecovery.sim
tests/script/tsim/sma/rsmaPersistenceRecovery.sim
+24
-16
未找到文件。
source/dnode/vnode/src/sma/smaRollup.c
浏览文件 @
61380b78
...
@@ -647,7 +647,7 @@ static int32_t tdRSmaExecAndSubmitResult(SSma *pSma, qTaskInfo_t taskInfo, SRSma
...
@@ -647,7 +647,7 @@ static int32_t tdRSmaExecAndSubmitResult(SSma *pSma, qTaskInfo_t taskInfo, SRSma
for
(
int32_t
i
=
0
;
i
<
taosArrayGetSize
(
pResList
);
++
i
)
{
for
(
int32_t
i
=
0
;
i
<
taosArrayGetSize
(
pResList
);
++
i
)
{
output
=
taosArrayGetP
(
pResList
,
i
);
output
=
taosArrayGetP
(
pResList
,
i
);
smaDebug
(
"vgId:%d, result block, uid:%"
PRIu64
", groupid:%"
PRIu64
", rows:%
d"
,
SMA_VID
(
pSma
),
smaDebug
(
"vgId:%d, result block, uid:%"
PRIu64
", groupid:%"
PRIu64
", rows:%
"
PRIi64
,
SMA_VID
(
pSma
),
output
->
info
.
id
.
uid
,
output
->
info
.
id
.
groupId
,
output
->
info
.
rows
);
output
->
info
.
id
.
uid
,
output
->
info
.
id
.
groupId
,
output
->
info
.
rows
);
STsdb
*
sinkTsdb
=
(
pItem
->
level
==
TSDB_RETENTION_L1
?
pSma
->
pRSmaTsdb
[
0
]
:
pSma
->
pRSmaTsdb
[
1
]);
STsdb
*
sinkTsdb
=
(
pItem
->
level
==
TSDB_RETENTION_L1
?
pSma
->
pRSmaTsdb
[
0
]
:
pSma
->
pRSmaTsdb
[
1
]);
...
...
tests/script/tsim/sma/rsmaPersistenceRecovery.sim
浏览文件 @
61380b78
...
@@ -349,16 +349,18 @@ if $rows > 2 then
...
@@ -349,16 +349,18 @@ if $rows > 2 then
endi
endi
if $data01 != 100 then
if $data01 != 100 then
if $data01 !=
5
0 then
if $data01 !=
1
0 then
print retention level 2 file/mem result $data01 != 100 or
5
0
print retention level 2 file/mem result $data01 != 100 or
1
0
return -1
return -1
endi
endi
endi
endi
if $data02 != 500.00000 then
if $data02 != 500.00000 then
if $data02 != 100.00000 then
if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000
if $data02 != 10.00000 then
return -1
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi
endi
endi
endi
...
@@ -371,16 +373,18 @@ if $rows > 2 then
...
@@ -371,16 +373,18 @@ if $rows > 2 then
endi
endi
if $data01 != 100 then
if $data01 != 100 then
if $data01 !=
5
0 then
if $data01 !=
1
0 then
print retention level 2 file/mem result $data01 != 100 or
5
0
print retention level 2 file/mem result $data01 != 100 or
1
0
return -1
return -1
endi
endi
endi
endi
if $data02 != 500.00000 then
if $data02 != 500.00000 then
if $data02 != 100.00000 then
if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000
if $data02 != 10.00000 then
return -1
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi
endi
endi
endi
...
@@ -394,16 +398,18 @@ if $rows > 2 then
...
@@ -394,16 +398,18 @@ if $rows > 2 then
endi
endi
if $data01 != 100 then
if $data01 != 100 then
if $data01 !=
5
0 then
if $data01 !=
1
0 then
print retention level 1 file/mem result $data01 != 100 or
5
0
print retention level 1 file/mem result $data01 != 100 or
1
0
return -1
return -1
endi
endi
endi
endi
if $data02 != 500.00000 then
if $data02 != 500.00000 then
if $data02 != 100.00000 then
if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000
if $data02 != 10.00000 then
return -1
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi
endi
endi
endi
...
@@ -416,16 +422,18 @@ if $rows > 2 then
...
@@ -416,16 +422,18 @@ if $rows > 2 then
endi
endi
if $data01 != 100 then
if $data01 != 100 then
if $data01 !=
5
0 then
if $data01 !=
1
0 then
print retention level 1 file/mem result $data01 != 100 or
5
0
print retention level 1 file/mem result $data01 != 100 or
1
0
return -1
return -1
endi
endi
endi
endi
if $data02 != 500.00000 then
if $data02 != 500.00000 then
if $data02 != 100.00000 then
if $data02 != 100.00000 then
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000
if $data02 != 10.00000 then
return -1
print retention level 1 file/mem result $data02 != 500.00000 or 100.00000 or 10.00000
return -1
endi
endi
endi
endi
endi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录