Skip to content
This repository has been archived by the owner. It is now read-only.

signature upgrade failed when using c++ api #253

Closed
sasgas opened this issue Dec 13, 2021 · 1 comment
Closed

signature upgrade failed when using c++ api #253

sasgas opened this issue Dec 13, 2021 · 1 comment
Assignees
Labels

Comments

@sasgas
Copy link
Contributor

sasgas commented Dec 13, 2021

mdbx:8881: mdbx_meta_update_begin: Assertion `unaligned_peek_u64(4, meta->mm_txnid_a) < txnid && unaligned_peek_u64(4, meta->mm_txnid_b) < txnid' failed.

from 0.10.5 to 0.11.2
os: ubuntu 21.10
gcc: 11.2.0

int main(int, char**) {
  std::string dbdir = "dbdir";
  std::filesystem::create_directories(dbdir);

  mdbx::env_managed::create_parameters cparam;
  mdbx::env::operate_parameters oparam;

  mdbx::env_managed env(dbdir, cparam, oparam);

  return EXIT_SUCCESS;
}
@erthink
Copy link
Owner

erthink commented Dec 13, 2021

Confirmed.
This is an extra assertion which should removed or refined, i.e. the bug is the assertion itself but nothing else.
Fix will be soon.
Thanks for reporting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants