apache/pinot

Disallow consuming segment deletion

Open

#10.237 aberto em 7 de fev. de 2023

Ver no GitHub
 (9 comments) (0 reactions) (0 assignees)Java (1.234 forks)batch import
good first issue

Métricas do repositório

Stars
 (4.937 stars)
Métricas de merge de PR
 (Mesclagem média 6d 7h) (186 fundiu PRs em 30d)

Description

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.

Guia do colaborador