apache/pinot

Disallow consuming segment deletion

Open

#10,237 创建于 2023年2月7日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)Java (1,234 fork)batch import
good first issue

仓库指标

Star
 (4,937 star)
PR 合并指标
 (平均合并 6天 7小时) (30 天内合并 186 个 PR)

描述

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.

贡献者指南