apache/pinot

Disallow consuming segment deletion

Aperta

#10.237 aperta il 7 feb 2023

 (9 commenti) (0 reazioni) (0 assegnatari)Java (1234 fork)batch import
good first issue

Metriche repository

Star
 (4937 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Recently we had an incident that some consuming segments were deleted by an operator by mistake. Now that pause/resume are in place, there's no use case for intentionally deleting a consuming segment. In this task, the segment DELETE endpoint needs to be modified to check if the provided segment name is a consuming segment and if so, fail the request with proper error message.

Guida contributor