Jungtaek Lim
fcea0fe0fe
CLUSTERDOWN : JedisClusterException
2014-02-26 07:54:08 +09:00
Jungtaek Lim
6efeb45952
Merge branch 'master' into introduce-new-sentinel-commands-added-to-Redis-2.8
...
Conflicts:
Makefile
src/main/java/redis/clients/jedis/Jedis.java
2014-02-05 00:26:14 +09:00
Marcos Nils
4b53160a74
Remove unnecessary Builder and fix merge issue. Fixes #520
2014-02-01 20:52:41 -03:00
Marcos Nils
bd19193cb6
Merged with master
2014-02-01 20:41:14 -03:00
Marcos Nils
8bec9fd373
Implement missing pubsub commands and fix indentation
2014-02-01 20:14:18 -03:00
Jonathan Leibiusky
105ca9f5bb
Reformat all files in the project according to java conventions.
2014-01-31 11:24:06 -05:00
Jungtaek Lim
a50cf3b15e
Apply Sentinel runtime configuration API introduced on Redis 2.8.4
...
* Implements new sentinel commands (failover, monitor, remove, set)
* unit test included
** added 2 redis-server and 1 sentinel for failover test
* with some refactoring
** SentinelCommands : refactor to have interface
** HostAndPortUtil : same format to cluster setup
2014-01-22 00:23:40 +09:00
Marcos Nils
37f629765e
Improve performance in MOVED and ASK response parsing
2014-01-17 12:06:20 -03:00
Jonathan Leibiusky
842dcd2a95
Merge branch 'cluster' of github.com:marcosnils/jedis into marcosnils-cluster
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2014-01-16 16:35:04 -05:00
Marcos Nils
dd0bbdaf91
Several changes have been added to this commit:
...
- Add asking to cluster commands
- Make jedis cluster return connection to original pool
- Add tests for MOVED and ASK cluster responses
- Refactor connection handler to recalculate connections based on slots
This commit makes the first usable version of Jedis along with Redis Cluster
2014-01-03 16:42:21 -03:00
Marcos Nils
1b26815799
Add functionality to recalculate slots when receiving MOVED response from node.
...
Add test to check for ASK responses (implementation missing)
2014-01-02 20:52:17 -03:00
Marcos Nils
0bc27ac3a2
Refactor redis cluster connection handler and add JedisAskDataException handling
2013-12-20 15:28:32 -03:00
Marcos Nils
a8987ed865
Add first test to thorw MovedDataException when receiving MOVED from a cluster node
2013-12-07 17:55:17 -03:00
Jonathan Leibiusky
46734e646a
add WAIT command
2013-12-05 09:35:13 -05:00
Jonathan Leibiusky
a27c67de66
add SCAN, HSCAN, SSCAN and ZSCAN
2013-12-03 16:55:52 -05:00
Jonathan Leibiusky
fa614bd2b8
Merge branch 'handles-client-output-buffer-limit' of github.com:HeartSaVioR/jedis into HeartSaVioR-handles-client-output-buffer-limit
2013-12-03 07:41:07 -05:00
Jonathan Leibiusky
77d244b96a
Add CLUSTER INFO, CLUSTER SETSLOT and CLUSTER GETKEYSINSLOT commands
2013-12-02 14:05:35 -05:00
Jonathan Leibiusky
dde278152f
Add CLUSTER ADDSLOTS and CLUSTER DELSLOTS commands
2013-12-02 11:36:55 -05:00
Jonathan Leibiusky
403f2b292c
Add CLUSTER MEET command
2013-12-02 10:01:19 -05:00
Jonathan Leibiusky
e7e2bfaedf
Launch 3 nodes on ports 7379 to 7381 with cluster enabled.
...
Add command CLUSTER NODES
2013-12-02 09:53:40 -05:00
Jonathan Leibiusky
18652b906b
Merge branch 'speed-up-unit-test' of github.com:HeartSaVioR/jedis into upgrade_libs
...
Conflicts:
src/test/java/redis/clients/jedis/tests/JedisPoolTest.java
src/test/java/redis/clients/jedis/tests/JedisSentinelPoolTest.java
src/test/java/redis/clients/jedis/tests/JedisSentinelTest.java
src/test/java/redis/clients/jedis/tests/ShardedJedisPipelineTest.java
src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java
src/test/java/redis/clients/jedis/tests/benchmark/PoolBenchmark.java
src/test/java/redis/clients/jedis/tests/commands/TransactionCommandsTest.java
2013-11-29 12:12:30 -05:00
임정택
e9506298f8
fix bug in Protocol.processBulkReply()
...
* if RedisInputStream().read() at Protocol.processBulkReply() returns
-1, it runs with unexpected behavior
* fix: check and if return value is -1, it throws
JedisConnectionException with message "server has closed the connection"
** prevent unexpected behavior, specially ArrayIndexOutOfBoundException
*** calls System.arraycopy() with length = -1 (cause limit = -1) at
RedisInputStream.read()
add pubsub unit test scenario : client-output-buffer-limit exceed
* Redis warns event(disconnect client) to their log, and suddenly
disconnected connection
** http://redis.io/topics/clients -> Output buffers limits
** so test expects JedisConnectionException with proper message
2013-10-16 18:22:04 +09:00
Hisham Mardam-Bey
39d81d8f1f
Added a JUnit test for JedisSentinelPool.
...
This test will set up and get a master from a Redis master slave pair being
watched by 2 Sentinels. It pings the master, segfaults it, asks the pool for
another connection and makes sure it can ping it.
This commit also restores the pom.xml file's scm information back to
xetorthio and adds the default Sentinel port to the Procotol.
2013-08-28 23:10:50 -04:00
mindwind
d57bfb94a9
fix - CLIENT command
2013-07-05 09:13:09 +08:00
mindwind
7655994933
new - supplement transaction missing api and fix some args type definition which is inconsistent with jedis
2013-07-01 14:30:19 +08:00
mindwind
1080d136ec
new - command for redis 2.6
2013-06-29 23:15:56 +08:00
mindwind
e7a88a49e9
new - pexpire, pexpireat and pttl command
2013-06-29 15:13:21 +08:00
mindwind
8b3ea5f2de
new - dump and restore command
2013-06-29 14:17:44 +08:00
Jonathan Leibiusky
846397d985
Merge branch 'master' of git://github.com/hamsterready/jedis into hamsterready-master
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2013-01-30 10:50:58 -03:00
samhendley
4c7cc57ede
Added bitcount to standard interfaces and bitop to MultiKey interfaces (since it is non-shardable)
...
Merge branch 'impl-bitcount-and-bitop' of git://github.com/koron/jedis
Conflicts:
src/main/java/redis/clients/jedis/JedisCommands.java
2013-01-09 23:49:05 -05:00
samhendley
2006d80ac5
normalized BinaryJedisCommands to match JedisCommands (including setbit)
2012-12-25 16:00:43 -05:00
Maciej Lopacinski
69b5291f80
SENTINEL commands
2012-11-18 19:58:13 +01:00
MURAOKA Taro
4570329924
implemented bitcount and bitop commands for Redis 2.6
2012-08-23 10:29:36 +09:00
Jonathan Leibiusky
5244d82450
Merge branch 'Object' of git://github.com/ivowiblo/jedis
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryJedisCommands.java
src/main/java/redis/clients/jedis/BinaryShardedJedis.java
src/main/java/redis/clients/jedis/Commands.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2012-04-23 23:00:13 -03:00
Jonathan Leibiusky
3da2f2dd57
Merge branch 'slowlog' of git://github.com/ivowiblo/jedis into slowlog
...
Conflicts:
src/main/java/redis/clients/jedis/BinaryClient.java
src/main/java/redis/clients/jedis/BinaryJedis.java
src/main/java/redis/clients/jedis/Jedis.java
src/main/java/redis/clients/jedis/Protocol.java
2012-04-23 20:35:55 -03:00
Eric Hauser
94e3d25ab8
Merge pull request #211 from raszi/9d4d11ef466d7a890e763bb1b98b044e3d8635b4
...
My previous static Protocol fix
2012-04-19 11:51:29 -07:00
ivowiblo
d5c2b9965c
Slowlog commands. The unit test is failing.
2012-04-19 02:53:26 -04:00
ivowiblo
d102ccf1b9
Object commands are supported
2012-04-19 00:32:23 -04:00
Ivo Ramirez
3c86ebcd36
Script commands are supported.
2012-04-14 08:45:26 -03:00
Ivo Ramirez
9dc89626ac
Eval and Evalsha is now supported
...
Conflicts:
src/main/java/redis/clients/jedis/Client.java
src/main/java/redis/clients/jedis/Jedis.java
2012-04-14 08:41:27 -03:00
KARASZI István
9d4d11ef46
no need to instantiate the Protocol class that can be static
2011-09-26 15:40:16 +02:00
Eric Hauser
b7ee1fe29a
Merge pull request #189 from vsoskov/jedis
...
---
the exception is returned in the list with the not formatted and formatted values.
Response.get throws the exception.
2011-09-13 23:08:20 -04:00
Michael Cameron
fb33b262e4
Add ability to specify database number in pool config
2011-08-26 16:47:37 -05:00
Vladimir Soskov
22d4d3fc53
fixing Issue 188
2011-07-31 19:50:16 -07:00
lmar
3fc43e7dec
Implementation of ZREVRANGEBYSCORE command
2011-03-08 19:03:24 +01:00
Jonathan Leibiusky
ac70d2352f
Merge branch 'flush' of git://github.com/pietern/jedis into pietern-flush
2011-02-28 10:37:43 -03:00
Eric Hauser
430601f31e
Adding support for bit commands get/setrange
2011-02-28 10:35:00 -03:00
Pieter Noordhuis
9dd23cec81
Flush to socket when starting to read
2011-02-25 13:00:34 +01:00
Jonathan Leibiusky
2a4a43f4cd
add JedisDataException and JedisConnectionException
2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
0d296a7f1a
add bitset and bitget
2010-12-20 16:26:52 -03:00