druid icon indicating copy to clipboard operation
druid copied to clipboard

删除Segment失败(必现)

Open JervisPG opened this issue 6 years ago • 3 comments

  • 描述 Segment按天分片的,从Kafka进来的数据行为数据,由于用户可能今天上报以前某些天的数据,导致我删除之前某一天的数据,这天的Segment有很多个Partition,调用MarkUnused API传时间interval,{T1, T1+1day}, 结果不是所有Partition都被删除,导致在元数据表看到这个MarkUnused任务执行Failed
  • 猜测 可能是那个Partition最近一定时间间隔有数据写入,所以锁住了Partition,当前时间去Web客户端怎么删除都不行,过段时间(有点久,但具体不固定)再去删除就能删除了
  • 场景 我要删除某天的数据(自动删除那天的segment,DFS),然后修复逻辑后再从其它地方跑批跑进去

JervisPG avatar Dec 26 '19 08:12 JervisPG

what druid vesion?

licl2014 avatar Mar 16 '20 03:03 licl2014

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

stale[bot] avatar Dec 25 '20 11:12 stale[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

github-actions[bot] avatar Aug 03 '23 00:08 github-actions[bot]