-
Notifications
You must be signed in to change notification settings - Fork 94
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
Mget binary support #221
Mget binary support #221
Conversation
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.
Looks good to me
@ipapapa please review this PR |
this.binaryKeys = null; | ||
} | ||
} else { | ||
this.keys = null; |
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.
Is there a case that the firstKey
is null
and the rest are not?
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.
@ipapapa good point. I have addd the null filter to address it and when all nulls sent it fails. Even the old implementation had this issue.
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.
@ipapapa Even when we filter nulls the change for this is across all places where ever we use MultiKeyOperation and CompressionValueMultiKeyOperation and it will fail saying
redis.clients.jedis.exceptions.JedisDataException: value sent to redis cannot be null
so its a known behavior even with current implementation. If you want I can go ahead and add a Collections filter on all places before passing the keys down further. Please let me know.
Seems we are seeing the same issue in Travis as in #222 |
@ipapapa I think it is to do with nebula dependency. In my local I can see it can be fixed by upgrading nebula.netflixoss to 5.0.0 |
Can you update Nebula in this PR to fix it? |
@ipapapa Yes upgrading to nebula 5.0.0 fixed the issue. I have removed the single line I added for filtering null as it is causing an exception. I will add it though, rest changes stays the same. Between is dyno jdk 8.0 supported? I see #185 is merged though. Please let me know. This is for using stream.filter. |
Thanks a lot @ipapapa and @shailesh33 |
Would you like me to draft an RC? |
Yes @ipapapa I was going to ask RC too. |
Since #223 was fired at the same date. Let us wait to get this is approved as well and I will draft an RC tomorrow. |
Thanks for the update @ipapapa |
Thanks @ipapapa Still not available maven repo, waiting for it to be available there. |
@ipapapa and @shailesh33 Can you please push the new rc into maven repo? We only have till rc.2 there(https://mvnrepository.com/artifact/com.netflix.dyno/dyno-core) |
@ipapapa and @shailesh33 I have implemented the mget with support for byte[] keys. Here are the summary of changes
Please review the PR and let me know if anything needs to be added or modified.