diff --git a/source/libs/index/src/index_fst.c b/source/libs/index/src/index_fst.c index f9cb68baa9..1ee364d4ad 100644 --- a/source/libs/index/src/index_fst.c +++ b/source/libs/index/src/index_fst.c @@ -1026,10 +1026,10 @@ bool fstVerify(Fst *fst) { uint32_t checkSum = fst->meta->checkSum; FstSlice *data = fst->data; TSCKSUM initSum = 0; - if (taosCheckChecksumWhole(data->data, data->dLen)) { + if (!taosCheckChecksumWhole(data->data, data->dLen)) { return false; } - + return true; }