Skip to content

Conversation

@LEAVING-7
Copy link
Contributor

rosedb/merge.go

Lines 88 to 92 in d392613

// rotate the write-ahead log, create a new active segment file.
// so all the older segment files will be merged.
if err := db.dataFiles.OpenNewActiveSegment(); err != nil {
return err
}

It seems that the lock isn't released when the OpenNewActiveSegment function returns an error

@roseduan
Copy link
Collaborator

thanks

@roseduan roseduan merged commit cdb06c8 into rosedblabs:main Aug 24, 2023
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