enh: rsma checkpoint

This commit is contained in:
kailixu 2023-11-02 13:05:36 +08:00
parent 698fb804f9
commit 96b5024347
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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;