codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.54k stars 341 forks source link

immuadmin dump results in immudb crash #283

Closed Gjergj closed 4 years ago

Gjergj commented 4 years ago

Steps to reproduce: ./immudb

login to immudb

./immuadmin dump

Result Immudb crash

Expect Send db data to immuadmin

Gjergj commented 4 years ago

Update: This bug is unveiled after fix on PR #281 It only happens on an empty db. Once the user inserts a record dump works fine. On empty db badger panics once with: Commit cannot be called with managedDB=true. Use CommitAt. and ReadTs should not be retrieved for managed DB

This could be a badger bug, further investigation is needed.