s4iko opened a new issue, #14692:
URL: https://github.com/apache/pinot/issues/14692

   Hello,
   
   **Context**
   
   I have a simple Pinot installation with no replica (1 server, 1 broker, 1 
controller, 1 minion, 3 ZK).
   I deleted a consuming segment (after disabling the server), to reload the 
messages. What I did:
   - disabled the server
   - stopped consumption
   - deleted the segment
   - start the consumption again
   A new segment is created with expected startSequence, nice.
   
   **Issue**
   
   After the segment was full and written to S3, I tried a count query and get 
all the data minus the ones of the segment.
   I checked the indexes from the GUI (or /tables/{{tableName}}/indexes) and 
get a count of <count of segments - 1> in all indexes.
   To fix this I tried:
   - disable the server
   - remove all indexes from /var/pinot/server/data/index/ (not all files, just 
the directory that match segment names)
   - restart the server and enable it
   Until now it fixes the indexes/segments count mismatch issue but not this 
time...
   
   **Question**
   
   It is possible that I missed something and an API can help in such cases but 
I did not find it (I tried reloading all segment and rebalance server with no 
luck).
   
   Is there a way to rebuild indexes from segments to fix this ?
   
   Thank you for the awesome work, Pinot it a really great tool !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to