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

wait close #148

Merged
merged 1 commit into from
Jan 4, 2024
Merged

wait close #148

merged 1 commit into from
Jan 4, 2024

Conversation

akiozihao
Copy link
Contributor

No description provided.

db.flushMemtable(table)
case table, ok := <-db.flushChan:
if ok {
db.flushMemtable(table)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add this in case clause:

case <- db.closeChan:
case <- sig
return

@akiozihao akiozihao merged commit 92e16ee into lotusdblabs:main Jan 4, 2024
@akiozihao akiozihao deleted the wait_close branch January 4, 2024 13:12
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

Successfully merging this pull request may close these issues.

2 participants