Comments (7)
Hi. What version of Redis you are use? I can't repoduce this bug. If no one keys is matched Redis reply is $0.
from rediska.
Hi again - my apologies, I am using redis 1.3.4 cloned/compiled from github 2 days ago. I guess I thought the implementation of already added commands wouldn't change that much but it seems that the results haven't, but the output responses have.
For clarity, the response I get from the server is *0 currently on redis v1.3.4.
Maybe I should revert to a released version of redis for now, however it does raise the question about whether its a good idea for redis clients to support different commands implementations depending on which version of redis you are connected to (this is found with INFO command).
Thanks,
Ryan
from rediska.
It's a good idea by very much of work :), and INFO on every connection is overhead as im think. I will be very happy, if you wanna realase this feature.
from rediska.
Confirmed - i installed redis 1.2.5 and this 'issue' is no longer a problem.
I agree doing INFO on every connection is an overhead, and not a good idea. Perhaps then it could be a configuration variable when you instantiate Rediska?
However, I agree it would probably be quite a lot of work to add into a single Rediska release. Maybe it would benefit everyone if Rediska was branched when a new major version of Redis came out?
That way it will make it easier for a developer to know which Rediska will work with which Redis - as the right commands/responses will apply to that client/server version.
What do you think?
Thanks,
Ryan
from rediska.
Branches is not a good idea too. Becouse if you have fix for all versions of Redis you need fix in all branches it will be a nightmare %).
I think good idea implement dependenses of commands and redis server versions in Rediska.
from rediska.
Now for you application with Redis 1.3.4 you may overwrite any commands with methods Rediska::addCommand and Rediska::removeCommand
from rediska.
And Rediska has own issue tracker http://bugs.geometria-lab.net/projects/rediska/issues %)
from rediska.
Related Issues (20)
- Variadic write commands support
- Replication and failover strategy for servers HOT 4
- Redis key delete when session expired or Garbase Collection in rediska HOT 3
- Add pipeline for keys, lists, sets, sorted sets and hash
- What is the purpose of a sorted set in session SaveHandler HOT 1
- Add support for installing via Composer
- Add Rediska to Packagist HOT 2
- SADD key member [member ...] Support
- unsubscribe error HOT 8
- Rediska_Serializer_Adapter_Json::unserialize returns same value that was passed in HOT 1
- Rediska getOptions method does not return servers
- Can't read from socket HOT 2
- Not allowed memory - for each with set HOT 1
- работа с Twemproxy
- symfony2 integration
- Redis command suport HOT 2
- Why you add Rediska::EOL after command?
- Got PHP notice " Undefined index: server1 in /vendor/geometria-lab/rediska/library/Rediska/Zend/Cache/Backend/Redis.php on line 673"
- Rediska_Serializer_Adapter_Json::unserialize does not respect decoding options.
- Catch Exception from SaveHandler
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 rediska.