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

pmemkv_put is not thread-safe #1

Open
otatebe opened this issue Oct 21, 2022 · 0 comments
Open

pmemkv_put is not thread-safe #1

otatebe opened this issue Oct 21, 2022 · 0 comments

Comments

@otatebe
Copy link

otatebe commented Oct 21, 2022

ISSUE: pmemkv_put is not thread-safe

Environment Information

Name Version
pmemkv version(s) 295fabe
libpmemobj-cpp version(s) 1.13.0
PMDK (libpmem/libpmemobj) version(s) 1.11.1
OS(es) version(s) ubuntu 22.04
kernel version(s) 5.10.102
compiler, libraries, packaging and other related tools version(s) gcc, g++

Please provide a reproduction of the bug:

Here is an output of the attached program. This program puts entries of the same key simultaneously.

key = key, value = value2
key = key, value = value1

There are two entries of the same key in the database.

bug.c.txt

This attachment has .txt suffix because .c file cannot be attached. Rename it to bug.c

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

No branches or pull requests

1 participant