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

wal处于compact的过程时不能写入数据 #135

Closed
Beyyes opened this issue Nov 28, 2017 · 2 comments
Closed

wal处于compact的过程时不能写入数据 #135

Beyyes opened this issue Nov 28, 2017 · 2 comments

Comments

@Beyyes
Copy link
Member

Beyyes commented Nov 28, 2017

No description provided.

@kr11
Copy link
Contributor

kr11 commented Dec 5, 2017

  1. compact的时候启用异步线程,当compact操作进行的时候,阻塞下一个compact。异步线程开始后产生新的wal文件enable 新的wal操作。
  2. 将BufferWrite和Overflow分离,记录自增的序号,enable分别删除各自的checkpoint之前的记录。(在单一种类的wal情况下,通过记录最近的checkpoint位置,直接cutoff该位置之后的所有文件,而不是读出来判断再写入,效率应该有所提高)

@jt2594838
Copy link
Contributor

jixuan1989 added a commit that referenced this issue Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants