Comments (6)
Thanks for the help @andrehjr - loving your work!
from split.
Hi @Adre 🙌 Thanks for bringing this out.
Which redis version are you currently using? HMSET was deprecated on redis 4.0, and HSET will work with multiple arguments.
But as we're still supporting Redis < 4.0 I guess that should change to hmset. I can fix that and release a new version later today.
from split.
Hi @andrehjr - no problem!
We're using redis 4.2.5, which worked fine with split 3.4.1, but presents the issue after updating to split 4.0.0.pre
Don't forget, split 4.0.0.pre already requires redis >= 4.2 so I'm unable to test this against older versions of redis 😬
from split.
Hi @Adre! Sorry for the confusion.
I meant the redis server version, not the gem. For example If you run Redis.new.info["redis_version"]
.
https://redis.io/commands/hset accepts multiple args after 4.0 :)
The fix should be easy enough. Do you want to submit a PR for it? Should be basically change hset -> hmset at that point.
from split.
Oh, I see! 😆
You're absolutely right, turns out we're using Redis 3.2 in development, although we're actually using 5.0 in production. Looks like we need to update our development environment in this case to get parity, which should solve my particular problem.
I'm happy to put in a PR as you suggested if you're committed to supporting Redis <4.0, but as far as I can tell from the Redis release cycle page these versions are no longer maintained/supported?
from split.
Awesome! I've already pushed #659 to keep compatibility. Just in case someone is still using Redis < 4.
But in the future, we may drop that support if it turns out to be difficult to maintain. 🙌
from split.
Related Issues (20)
- Improved experience in the split dashbaord
- "Insufficient confidence" with 1400+ participants, 60+ completions and 2 variants HOT 2
- Multiple tests with the same prefix (e.g. menu and menu_underline) will result in the second test being recalculated at every request HOT 4
- The control group is not always the default in RSpec tests HOT 2
- custom error tracking middleware like raygun / sentry / etc? HOT 2
- Split Dashboard showing negative NON-FINISHED value HOT 1
- Error connecting to Redis with cookie config HOT 1
- When split cookie is a valid, json encoded String, a NoMethodError is raised HOT 2
- Update alternative weights dynamically
- ActionView::Template::Error (Unsupported command argument type: TrueClass) HOT 8
- Deprecation warning by using `redis.sadd` with Redis 4.8.0 HOT 5
- `matrix` should be added as a dependency
- Rubystats gem causes name conflict that won't allow Rails application to start properly HOT 1
- SSL_connect error when opening dashboard or calling ab_test() or ab_finished() since updating our Heroku redis from 5 to 7 HOT 4
- CROSSSLOT keys issue when using redis cluster HOT 5
- Assign running experiment to logged_in_user HOT 1
- Split Dashboard can take minutes to load after upgrading to Split v4.x (with RubyStats) HOT 5
- 'cleanup_old_experiments' error when running from non-web (eg. console) HOT 2
- New release with redis 4.8 compatibility ? HOT 3
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 split.