Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

索引清理方案 #68

Open
muyannian opened this issue Mar 10, 2014 · 0 comments
Open

索引清理方案 #68

muyannian opened this issue Mar 10, 2014 · 0 comments

Comments

@muyannian
Copy link
Contributor

因为任务的迁移,或者异常原因,运行久了的mdrill会有一些死角数据放到硬盘上。这些数据永远不会被访问到,确占据着硬盘空间,应该被清掉。

目前的方案是 采用心跳的机制,对有效的分区,定时进行心跳,记录时间标记。
然后清理程序 可以根据这个时间标记,将过期的死角索引清理掉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant