Giter VIP home page Giter VIP logo

Comments (14)

xetorthio avatar xetorthio commented on May 9, 2024

Sure! I have planned to do it over the weekend! :)

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

done! :) Jedis .1.5.1

from jedis.

costin avatar costin commented on May 9, 2024

Hey,

I finally got some time to upgrade to Redis 2.2 (rc2) and Jedis 1.5.1 - here's some quick feedback:

  1. getbit/setbit might be better accepting a long as offset instead of a int. This might be the case with the entire API.
  2. the new commands (list index, get/set bit etc...) do not seem to be available on the transaction API.
  3. brpoplpush returns a String instead of a byte[] on BinaryClient

Otherwise, everything works great - thanks for making this possible!

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

Thanks a lot for the feedback!
I will commit fixed tonight, I just got back from my vacations so now I have time to work on Jedis again! :)
Will keep you updated when changes are made.

from jedis.

costin avatar costin commented on May 9, 2024

Hey - any update on this issue? Is there a new branch or snapshot that I have missed?
Thanks!

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

done on master, just forgot to push it to github and let you know :S sorry!

but now it is all pushed and ready for you to play with :)

from jedis.

costin avatar costin commented on May 9, 2024

Hey,

Great - just tried the update.

  1. the longs are still not exposed on BinaryJedis or on the Transaction API (though the seem to be used on the Client).
  2. the transaction API still doesn't have all methods available on it - for example sort& save.
  3. indeed this was fixed.

Unfortunately didn't see issue #77 [1] addressed in the master yet.

[1] https://github.com/xetorthio/jedis/issues#issue/77

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

sorry about that. 1 and 2 should be fixed now.
please let me know is something else is missing

from jedis.

costin avatar costin commented on May 9, 2024
  1. The Binary TX still uses int for get/setBit
  2. The sort methods are not available in binary form - the one's I'm looking for are transaction.sort(byte[], SortingParam, byte[] dstKey) and sort(byte[], byte[] dstKey)

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

wooops. missed that. pushed to master.
the only thing missing is: sort(byte[], byte[] dstKey) which doesn't exists anywhere in the code. so will do it today later.

from jedis.

costin avatar costin commented on May 9, 2024

I can see the method on BinaryJedis#public Long sort(final byte[] key, final byte[] dstkey).

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

done. sorry about this mess. seems like my brain still thinks I'm on vacations.

from jedis.

costin avatar costin commented on May 9, 2024

no worries - everything works now. Any chance of fixing issue #77 (binary pubsub) this week?

from jedis.

xetorthio avatar xetorthio commented on May 9, 2024

sure, will do it over this weekend. so expect a new version of Jedis on Monday.

from jedis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.