On -cpp 1.5 (exact tag without further commits, but reproduces with unreleased stable-1.5 and with master), the map_cli example fails on every "get" operation.
PMDK package version(s): 1.5 (exact tag, as packaged in Debian)
OS(es) version(s): Debian unstable
ndctl version(s): 63-1.3
kernel version(s): 4.20.5
compiler, libraries, packaging and other related tools version(s): gcc 8.2, etc
Test commands that I'd expected to work:
m() { ./map_cli file persistent "$@"; }
m insert 1 1
m get 1
m insert 1 2
m get 1
m insert 2 10
m print
m remove 1
m get 1
m insert 1 3
m print
which should give:
1
2
map[1] = 2
map[2] = 10
2
key not found
map[1] = 3
map[2] = 10
Result: every "get" says, in addition to expected output, 「invalid queue operation」 on stderr.
I strongly suspect that this is a bug in the example rather than the library, but it's you who know better...
On -cpp 1.5 (exact tag without further commits, but reproduces with unreleased stable-1.5 and with master), the
map_cli
example fails on every "get" operation.Test commands that I'd expected to work:
which should give:
Result: every "get" says, in addition to expected output, 「invalid queue operation」 on stderr.
I strongly suspect that this is a bug in the example rather than the library, but it's you who know better...