add self check info

This commit is contained in:
Yihao Deng 2024-06-26 01:26:39 +00:00
parent 061648071e
commit ac351c5b58
1 changed files with 13 additions and 12 deletions

View File

@ -4230,7 +4230,7 @@ void strArrayDebugInfo(SArray* pArr, char** buf) {
*buf = p;
}
void dbChkpDebugInfo(SDbChkp* pDb) {
// stTrace("chkp get file list: curr");
if (stDebugFlag & DEBUG_INFO) {
char* p[4] = {NULL};
hashTableToDebug(pDb->pSstTbl[pDb->idx], &p[0]);
@ -4249,6 +4249,7 @@ void dbChkpDebugInfo(SDbChkp* pDb) {
taosMemoryFree(p[i]);
}
}
}
int32_t dbChkpGetDelta(SDbChkp* p, int64_t chkpId, SArray* list) {
taosThreadRwlockWrlock(&p->rwLock);