dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

[ENHANCEMENT]: prevents DB to start up on old version of posting list (magic number)

Open rderbier opened this issue 2 years ago • 1 comments

What you wanted to do.

v21.12 PR https://github.com/dgraph-io/dgraph/pull/8032

introduce a magic number to prevents DB to start up if the version is not compatible. Avoid corruption.

rderbier avatar Dec 15 '22 17:12 rderbier

I think we should have test for this that in case a customer starts the wrong version of Dgraph on a p directory, it shouldn't do bad things. If the tests conclude that we need a magic number, we can cherry-pick this PR. This one should be done soon.

mangalaman93 avatar Jun 13 '23 16:06 mangalaman93

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

github-actions[bot] avatar Jul 31 '24 02:07 github-actions[bot]