Comments (9)
Yes, thus any client has the file like this, client need to be updated by itself.
I wonder if we should take a code fix to remove this line altogether. If someone is bringing over a Redis module in the source code format, I think we should honor that intent by not changing their entry point. thoughts?
from valkey.
I guess I'm still a bit confused, is there a test you can write that will demonstrate the behavior?
from valkey.
The module in question is built against the Valkey source tree where RedisModule_OnLoad
is aliased to ValkeyModule_OnLoad
. The version script says that all symbols except for RedisModule_OnLoad
should be hidden, which includes ValkeyModule_OnLoad
hence this issue. Since we have decided to be both source and ABI compatiable with Redis modules, I think we can try fixing this issue by deleting https://github.com/valkey-io/valkey/blob/unstable/src/redismodule.h#L339
However, we will print out a "Legacy module ... loaded" NOTICE message with this change, even if the module is rebuilt against the Valkey tree. This is probably acceptable as the module is written against redismodule.h
. So technically it is still a legacy Redis module.
from valkey.
I guess I'm still a bit confused, is there a test you can write that will demonstrate the behavior?
Let me try to describe this issue by using an example
from valkey.
I guess I'm still a bit confused, is there a test you can write that will demonstrate the behavior?
I already update the top comment to describe an example for this issue, Thanks
from valkey.
@hwware the macro on L339 in redismodule.h is the cultprit.
from valkey.
@hwware the macro on L339 in redismodule.h is the cultprit.
Yes, thus any client has the file like this, client need to be updated by itself.
from valkey.
@hwware How critical is this to fix? Do we need to pull it in to the Valkey 8 project?
from valkey.
I have no idea how it is important. But any project includes vesion.script as the example in the top comment, some codes changes need. Let us have a vote for core member @valkey-io/core-team : do we need to pull it in to the Valkey 8 project?
from valkey.
Related Issues (20)
- [NEW] benchmark over test framework
- Updated CI testing to improve catching tests early.
- Investigate using path filters to reduce the number of tests we are running
- Investigate performance improvements related to slot ownership in getNodeByQuery HOT 8
- Request for Valkey to support element level TTL for hash, set and sorted set HOT 4
- [BUG] Stream lag value could be incorrect HOT 1
- [NEW] Add "Total" message and used_memory_human log information in serverCron() function
- Changing Valkey RDB magic for Valkey 8 HOT 14
- [DOC] Document the clang-format flow HOT 2
- Test failure unit/cluster/slot-migration
- Revise config defaults for Valkey 8 HOT 6
- [NEW] Improve cluster logs HOT 1
- GEOSEARCHSTORE - ASC | DESC options are meaningless HOT 2
- Extended Valkey client introspection functionality HOT 3
- Valkey support for memory locking (?) HOT 3
- Memory protected (debug) mode
- Introduce new rax function `raxAllocSize` to return rax tree allocation size in constant time HOT 3
- Parallel execution of read operations HOT 1
- [NEW] Please publish Debian artifacts HOT 3
- [NEW] Add the test scenario of `io-uring-enabled yes` to daily test.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valkey.