Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate bucket reallocation during replay #120

Open
qpfiffer opened this issue Sep 16, 2014 · 0 comments
Open

Investigate bucket reallocation during replay #120

qpfiffer opened this issue Sep 16, 2014 · 0 comments
Assignees

Comments

@qpfiffer
Copy link
Member

There might be some weirdness happening during replay in regards to bucket allocation. db->val_size might be expanded unnecessarily when:

  1. A bucket is reallocated during AOL replay, and
  2. That bucket's new value size is less than or equal to it's previous size.

I think you could probably observe this happening if the extent file grew after numerous closings/openings of the database with no actual data change aside from the two conditions above.

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

No branches or pull requests

1 participant