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
ISSUE: pmemkv_put is not thread-safe
Environment Information
Please provide a reproduction of the bug:
Here is an output of the attached program. This program puts entries of the same key simultaneously.
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