Hi team, I’ve a question about segment build proce...
# troubleshooting
a
Hi team, I’ve a question about segment build process with startree index. If a segment build failed, pinot would stop consuming that kafka partition. Through calling /consumingSegmentsInfo api, this segment shows not_consuming. It will continue consuming by calling /segments/{tableNameWithType}/{segmentName}/reset api. But I’m a little confusion about the offset. I thought it would from the offset where it failed building that segment. But it may not seem so. Based on my test, through checking server log, a segment building failed on Jul 17, and it stopped consuming data since then. I reset this segment at 8:00 am on Jul 18, then new data is ingested since this time. Data earlier this time isn’t ingested.
Offset in table config is set smallest. And I’m sure data earlier than 8:00 am on Jul 18 isn’t deleted because I ingest this same topic data by creating another table and could see data earlier than that time is ingested.
m
It should consume from the previous checkpointed offset. The
smallest
setting in table config is not for this scenario but bootstrapping of the table.
a
The previous checkpointed offset, is it the same as the one where the segment failed built?
m
The one failed is not checkpointed. The last successful segment commit is
a
I thought so. But just could not explain data earlier this time wasn’t ingested.