-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
v0.8.2 crashes soon after starting #1040
Conversation
To build v0.8.2, I had to... cd /tmp cd ~/go/src/github.com/influxdb/rocksdb cd ~/go/src/github.com/influxdb/influxdb |
|
Same stack trace with v0.8.3 and master. |
Duplicate of #936. |
With Trace enabled in raft there are a few interesting tidbits that get logged...
|
@benbjohnson thoughts? What are the indexes stored in the log? |
@dgnorton It sounds like the
The It looks like the
tbh, I didn't work on the snapshotting in go-raft so I'm not as familiar with it. Let me know if this helps or if you need me to dig around further. |
309f68c
to
dcc671b
Compare
// save writes the snapshot to file. | ||
func (ss *Snapshot) save() error { | ||
tx := goback.Begin() | ||
defer tx.Rollback() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel this is a little bit counter intuitive. The functions passed to tx.Exec
are called when the transaction aborts not when the transaction commits. I understand these are cleanup steps, but I think the api should make this obvious, right now i think it's confusing.
User's data: https://s3.amazonaws.com/errplane-internal/influxdb-crash.tar.gz
Debug and add more detail.