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

Unable to use pmem-redis with Redis 5.0 #7

Closed
jithutho opened this issue Apr 3, 2019 · 1 comment
Closed

Unable to use pmem-redis with Redis 5.0 #7

jithutho opened this issue Apr 3, 2019 · 1 comment

Comments

@jithutho
Copy link

jithutho commented Apr 3, 2019

Had been trying to use pmem-redis with Redis 5.0.
Building the two together fails due to difference in the jemalloc library being used in pmem-redis and redis 5.0.

On executing, "make USE_NVM=yes" the following error in thrown on Ubuntu 16.04.
--===============
../redis-5.0/deps'
CC adlist.o
CC quicklist.o
In file included from ../deps/memkind/include/memkind/internal/memkind_pmem.h:32:0,
from nvm.h:37,
from quicklist.c:43:
../deps/memkind/include/memkind/internal/memkind_arena.h:44:52: error: unknown type name ‘chunk_hooks_t’
int memkind_arena_create_map(struct memkind *kind, chunk_hooks_t *hooks);
^
Makefile:299: recipe for target 'quicklist.o' failed
make[1]: *** [quicklist.o] Error 1
--===============

The issue seems to be due to change in the jemalloc implementation in jemalloc 5.0 which is being used by Redis 5.0.

Would like to know,
1). whether pmem-redis has been tried with jemalloc 5.0 as I see one comment with respect to jemallocat library not working with jemalloc 5.0 (2ea9574)
2). whether any workaround available so that pmem-redis works with redis 5.0
3). whether any roadmap is available for moving pmem-redis to redis 5.0

Would like to have your inputs and suggestions on this issue.

@peifengsi
Copy link
Contributor

Yes, current implementation has a hard depend on the jemalloc v4.0. We have no plan to support new version of jemalloc, sorry for it.

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

2 participants