-
Notifications
You must be signed in to change notification settings - Fork 106
Replicate results of run commands instead of verbatim #157
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
Conversation
Tests are passing locally (macOS), while CI is failing with a message
it appears that the replica doesn't contain the replicated output as it should. Does this ring any bell at the RLTest level or else? @MeirShpilraien @mnunberg @rafie |
I could replicate the issue locally. It doesn't always fail, but it fails more often than not. |
Update on this. Forgetting about RLTest for a second, here's a breakdown of the issue. First checkout the branch and build. Then start a master and a replica (make sure there's no rdb lingering around)
and in another terminal
Now run
The script will fail at the last
because there's no The slave complains with
In fact, logging from Redis internals, it looks like the master initiates the replica with the correct command args, but it only ends up sending If we repeat the above with
There's no error and the replica contains the right value. The difference is that Even worse than this, it looks like replication is somewhat stuck. If we set another tensor at a new key
fails with
|
@gkorland Now that the fix has been included in Redis unstable, should we wait for the next Redis release before merging this one? Or should we try to make things work in both cases by looking at the version of the Redis server? (if possible, I'm actually not sure how to do it) |
@gkorland on which branches are the redis changes present? Will it be part of an upcoming 5 release or only be present in 6? |
@K-Jo should be on the new 5.0.7 |
21a2d2b
to
8dd518d
Compare
@rafie I wanted to test the fixes that ended up in Redis 5.0.7, and I rebased on master and changed Docker images to be based off 5.0.7, but apparently CircleCI is still on 5.0.5. I entered the CircleCII container and ran
Can you give me a hint on how to have the container updated? Thanks a lot in advance. |
3c788b0
to
7878f35
Compare
Great! just please make sure you set the redis version in the RAMP file to 5.0.7 |
@gkorland @rafie it should be enough to change the version number in this line |
@@ -5,7 +5,7 @@ description: Serving tensors and executing deep learning graphs | |||
homepage: https://oss.redislabs.com/redisai/ | |||
license: GNU Affero General Public License v3.0 | |||
command_line_args: "" | |||
min_redis_version: "5.0" | |||
min_redis_version: "5.0.7" | |||
min_redis_pack_version: "5.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the pack version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You tell me :-)
By the way, I see the license is also outdated. I can update both, we go with 5.4.11 then?
Adresses #84.
Replication of MODELRUN and SCRIPTRUN commands will not lead to re-executing the computation on the replicas, but just to setting the outputs on the replicas. Tests now include using replicas.