When I update badger in my project, I get this error: manifest has unsupported version: 4 (we support 6). I use master branch. I vendored it last time by end of May 2019. What could have gone wrong?
When I update badger in my project, I get this error: manifest has unsupported version: 4 (we support 6) . I use master branch. I vendored it last time by end of May 2019. What could have gone wrong?
We’ve made a few breaking changes to badger which means the underlying table/vlog structure has changed. If you wish to migrate your old data to the new badger version you can create a backup and restore using the latest version of badger.
Does that mean we have to update older version of badger stores? And if so, how should we do that?
Yes, you will have to migrate your badger data to the new version. To do this
Create a backup using the older version (badger backup --dir=...)
Install new version of badger
Restore the original backup (badger restore --dir=...)