enh: rsma checkpoint
This commit is contained in:
parent
698fb804f9
commit
96b5024347
|
@ -1147,6 +1147,7 @@ _checkpoint:
|
|||
SStreamTask *pTask = pItem->pStreamTask;
|
||||
atomic_store_32(&pTask->pMeta->chkptNotReadyTasks, 1);
|
||||
pTask->checkpointingId = taosGetTimestampNs();
|
||||
pTask->chkInfo.checkpointId = pTask->checkpointingId;
|
||||
code = streamTaskBuildCheckpoint(pTask);
|
||||
TSDB_CHECK_CODE(code, lino, _exit);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ sleep 50
|
|||
sql connect
|
||||
|
||||
#todo wait for streamState checkpoint
|
||||
return 1
|
||||
#return 1
|
||||
|
||||
print =============== create database with retentions
|
||||
sql create database d0 retentions -:7d,5m:21d,15m:365d;
|
||||
|
|
Loading…
Reference in New Issue