You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the report, and glad to know that you figured that this was due to a volume full situation (I would probably not have figure this out).
As you can see the panic occurs deep down in the raft/boltdb code, so I am not sure how I will be able to intercept and alter the error message, but will think about it more.
@stuart-warren I believe that the panic occurred because I started to use boltdb.NoFreelistSync. I have opened an issue with them: etcd-io/bbolt#152
I may revert the use of this flag for the 0.12.2 that I plan to release this week until the above issue is fixed.
In your situation where the volume was full, if boltdb did not panic, I believe that the error would have been properly reported. Will keep this issue opened for now.
Closing for now since PR #766 may prevent the panic (and so you would have seen the reason for the write failure). That being said, it is always possible to get a panic if boltdb is unable to recover from a failure. I would recommend having a look at this comment: #769 (comment) for ideas on what to do to recover from a panic on node restart.
Closing for now. Thanks again for the report!
it seems that if the volume that raft is writing to is full, it may panic.
It took quite a while to confirm that the volume was full as there are no tools in the
nats-streaming:0.12.0
imageIf stopping is the correct thing, can we improve the error/log message?
The text was updated successfully, but these errors were encountered: