sewenew / redis-protobuf

Redis module for reading and writing Protobuf messages
Apache License 2.0
204 stars 22 forks source link

Not working with Redis 6.x #27

Closed AnujaK closed 2 years ago

AnujaK commented 2 years ago

This module is not getting loaded in either Redis 6.x or Redis Stack. Getting error: Can't load module from /home/anuja/redis-protobuf/compile/libredis-protobuf: server aborting

Does it work with very specific redis version(s) @sewenew ?

sewenew commented 2 years ago

It should work with Redis 6.X. I tested it with Redis 5.0.9, Redis 6.0.1 and Redis 7.0.0. redis-protobuf works on these version.

What's error message does it report? Also you should specify the full name of the dynamic library, including the file extension:

loadmodule /path/to/libredis-protobuf.so --dir /path/to/proto/dir

Regards

AnujaK commented 2 years ago

It is running with Docker. Did not test the dockerized version with Redis Stack (7.0) as I had already downgraded the redis version to 6.2 in an attempt to make the loadmodule work. The only error is

Can't load module from /home/anuja/redis-protobuf/compile/libredis-protobuf: server aborting

sewenew commented 2 years ago

You can try the Dockerfile in the project, which tests with the latest Redis. It should work.

Regards

sewenew commented 2 years ago

Since there's no update. I'll close this issue.

Regards