We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When recovering / restoring from an existing data directory the tail is nil and results in a segment fault during inserting.
I have introduced a recovery mode on my fork but as a work around, I have added the following code to getTail on partitionListImpl.
getTail
partitionListImpl
func (p *partitionListImpl) getTail() partition { if p.size() <= 0 { return nil } p.mu.RLock() defer p.mu.RUnlock() if p.tail == nil { log.Warn("tail partition not found, attempting to recover tail") i := p.newIterator() for i.next() { p.tail = i.currentNode() } } return p.tail.value() }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When recovering / restoring from an existing data directory the tail is nil and results in a segment fault during inserting.
I have introduced a recovery mode on my fork but as a work around, I have added the following code to
getTail
onpartitionListImpl
.The text was updated successfully, but these errors were encountered: