Skip to content

pmemkv_put is not thread-safe #1

@otatebe

Description

@otatebe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions