I have a realtime table with `replicasPerPartition...
# troubleshooting
r
I have a realtime table with
replicasPerPartition
set to 1. My servers were restarted and now the segments that were in the consuming state are now in the offline state. How do I restore/replace those previously consuming segments?
r
Happened with me too in past during real time ingestion from Kafka topic when one of my server pod Went down, in my case i had to reingest the data from Kafka topic again since my segments got corrupted, and data also was lost when checked in PVC . If it’s not corrupted for you then you can try to reset segment or reload table using api and see if it reconsumes from Kafka topic.
m
@rahul gulati Yes, I think reset api is the right one to try. However, can you elaborate what you mean by segments got corrupted? There should be no circumstances where segments could get corrupted, so what you are saying seems quite odd to me.
r
Sure, I meant to say that they were unusable at that time so queries did not work for me. I believe it was due to underlying Pod/PVC which got deleted and came back up with a different address. So I had to reingest the data.
I also tried reload couple of times using rest api from the controller pod but did not work for me.
m
Got it, thanks for clarifying.
r
I wasn’t able to reproduce this issue in my local environment. In my test environment the server was reloading segments (in order to update my Star-tree index (STI)) when it was restarted.
When I’m back at home on Friday I’ll try resetting the offline segments
For some reason the offline segment no longer exists so I can no longer try to reset it.