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

region_reset does not reset usage to 0 as expected #64

Open
nshy opened this issue Jul 17, 2023 · 0 comments
Open

region_reset does not reset usage to 0 as expected #64

nshy opened this issue Jul 17, 2023 · 0 comments
Labels
refactoring Code refactoring

Comments

@nshy
Copy link
Contributor

nshy commented Jul 17, 2023

As a result region_join(&region, 0) after reset will prepend garbage left in region slabs other than the first one. In parcular this is what src/http.c and src/lua/http.c of Tarantool 3.0.0-alpha1-16-g0e5a3cc21 do for region with headers.

There is a patch 67d7ab4 which seems to fix the issue but it does not make it into upstream.

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

No branches or pull requests

3 participants