c5a5e1419bupgrade dependencies in gradle build file (to match the ones in pom.xml) and update version of gradle wrapper
Ivan Dyedov
2013-11-04 18:13:57 -05:00
52bb245203* fix bug: test expects JedisConnectionException ** I have mistaken while verifying seeing Exception's message * remove huge print messages
임정택
2013-10-16 19:42:29 +09:00
e9506298f8fix bug in Protocol.processBulkReply()
임정택
2013-10-16 18:22:04 +09:00
7e1a1a70b2Speed up Sentinel related tests
Jungtaek Lim
2013-10-07 11:03:32 +09:00
597366343dFixed up eval(sha) tests to better check that the lua script ran properly.
Hisham Mardam-Bey
2013-10-05 18:13:30 -04:00
796f80d9c0Allow JedisPool to set a custom client name
Eoin Coffey
2013-09-24 15:32:18 -06:00
bc4d0ed0b6Added test from pull request #429.
Hisham Mardam-Bey
2013-10-05 16:20:05 -04:00
35a2dfd4c0JedisSentinelPool now takes care of multi failover
Jungtaek Lim
2013-09-26 10:48:17 +09:00
08e9b0c7e7[maven-release-plugin] prepare for next development iteration
Jonathan Leibiusky
2013-09-15 15:47:05 -03:00
0defe548c9[maven-release-plugin] prepare release jedis-2.2.1
Jonathan Leibiusky
2013-09-15 15:46:58 -03:00
1aee3b396dooppsss... forgot password for sentinel
Jonathan Leibiusky
2013-09-15 15:41:44 -03:00
6c8d23fadfrollback sentinel1 configuration, since I broke a test
Jonathan Leibiusky
2013-09-15 15:37:01 -03:00
ad58f816b6make sure that JedisSentinelPool use timeout, password and db
Jonathan Leibiusky
2013-09-15 15:33:22 -03:00
4d9090827fdon't push binaries to github
Jonathan Leibiusky
2013-09-15 15:32:31 -03:00
ebf1380eeaFixed bug where timeout, password, and database were not set in the JedisSentinelPool overloaded contructor and hence not passed to JedisFactory.
Hisham Mardam-Bey
2013-09-12 21:52:29 -04:00
d7d9f06bd1[maven-release-plugin] prepare for next development iteration
Jonathan Leibiusky
2013-09-06 16:09:18 -03:00
2f26176e35[maven-release-plugin] prepare release jedis-2.2.0
Jonathan Leibiusky
2013-09-06 16:09:11 -03:00
54d6c50e91move back to snaptshot
Jonathan Leibiusky
2013-09-06 15:53:54 -03:00
dd3e5493a5add target to release jedis in maven central
Jonathan Leibiusky
2013-09-06 15:52:59 -03:00
690ad3c898trying to release jedis in maven central
Jonathan Leibiusky
2013-09-06 15:49:51 -03:00
e93506591fadd maven central pom stuff
Jonathan Leibiusky
2013-09-06 15:10:11 -03:00
2ed1f073ffit might happen that it is alredy saving, so make sure that test won't fail because of this
Jonathan Leibiusky
2013-09-03 14:05:50 -03:00
ad001d1a72change version to 2.2
Jonathan Leibiusky
2013-09-03 14:00:32 -03:00
e0fa095db9update dependencies version version bump
Jonathan Leibiusky
2013-09-03 11:59:08 -03:00
fddd41d796change makefile to accept "start" and "stop" to be able to start the testing environment and stopping it for manual testing purposes. raising down-after-milliseconds of sentinel 1 to avoid taking the master down and up all the time. change sleep to 10 seconds after doing a "salveof" to avoid false negatives.
Jonathan Leibiusky
2013-09-02 18:13:14 -03:00
39d81d8f1fAdded a JUnit test for JedisSentinelPool.
Hisham Mardam-Bey
2013-08-28 23:10:50 -04:00
e17679f568[maven-release-plugin] prepare for next development iteration
Hisham Mardam-Bey
2013-08-24 17:33:22 -04:00
52286d6942Refactored the inline thread that monitors the master and turned it into its own class. The pool shuts down the monitors as well now.
Hisham Mardam-Bey
2013-08-24 17:14:03 -04:00
c2a48afafdInitial JedisSentinelPool based on code from hamsterready/jedis-sentinel-pool. Given a master name and a set of sentinels this pool will subscribe to the Sentinel notifications about master changes (+switch-master) and re-establishes the pool to the new master when one is announced.
Hisham Mardam-Bey
2013-08-23 23:06:13 -04:00
404c5632c7[maven-release-plugin] prepare for next development iteration
Hisham Mardam-Bey
2013-08-21 23:38:24 -04:00
50516d3b70Clean up README a bit, we're past Redis 2.0.0
Hisham Mardam-Bey
2013-08-21 23:12:36 -04:00
d377bcf6d3Fail if the Sentinel does not return the slave.
Hisham Mardam-Bey
2013-08-21 23:00:13 -04:00
33e64bdb6eChanged redis.clients.jedis.tests.commands.AllKindOfValuesCommandsTest#ttl so that it passes assertion. Once this issue is resolved in Redis the test can be fixed.
Hisham Mardam-Bey
2013-08-21 22:38:10 -04:00
ed80e7ce70Allow the Pool to be constructed without having an internal pool created. This is useful when extending the Pool without being able to create one at construction time.
Hisham Mardam-Bey
2013-08-21 00:06:30 -04:00
7655994933new - supplement transaction missing api and fix some args type definition which is inconsistent with jedis
mindwind
2013-07-01 14:30:19 +08:00
1080d136ecnew - command for redis 2.6
mindwind
2013-06-29 23:15:56 +08:00
24c6b7c867support for new 'set' command (redis 2.6.12+)
amitm
2013-05-13 12:40:24 +03:00
62c30dfe8bchange licensing info
Jonathan Leibiusky
2013-05-02 08:48:48 -03:00
5e2cdb9c08When writing a negative sign the write(char) method goes directly to the output stream and by-passes the internal RedisOutputStream buffer causing random corruption of the output. Casting the char to a byte ensures write(byte) is called which will properly buffer the output.
Darren Shepherd
2013-03-29 22:28:01 -07:00
6af41cdac2merging with master branch. Required refactoring of Pipeline code.
Eric Treworgy
2013-02-20 12:24:15 -08:00
69f5340aa6add info optional parameter
Jonathan Leibiusky
2013-02-05 15:55:48 -03:00
9d538a06fdwhen a script returns Null value, jedis throws NullPointerException
Jonathan Leibiusky
2013-02-05 15:44:35 -03:00
23e50a363eChange the way we test sentinel commands so it is automatic
Jonathan Leibiusky
2013-01-30 15:24:53 -03:00
846397d985Merge branch 'master' of git://github.com/hamsterready/jedis into hamsterready-master
Jonathan Leibiusky
2013-01-30 10:50:58 -03:00
406d52b271fix tests, since ttl now return -2 or -1 depending if the key exists already
Jonathan Leibiusky
2013-01-30 10:41:12 -03:00
258ac300fcadded variadic versions of lpush/rpush(x) functions
samhendley
2013-01-10 02:39:48 -05:00
6b5fccdc0arefactored pipelinebase so it is usable to implement SharedJedisPipeline as well.
samhendley
2013-01-10 02:29:39 -05:00
c8ddd237c3extracted common Pipeline operations into PipelineBase and used that to simplify BinaryTransaction/Transaction
samhendley
2013-01-10 01:16:54 -05:00
4f9ddb3b5ffixed many pipeline requests that were returning the wrong types
samhendley
2013-01-10 00:50:19 -05:00
4c7cc57edeAdded bitcount to standard interfaces and bitop to MultiKey interfaces (since it is non-shardable)
samhendley
2013-01-09 23:48:23 -05:00
1a96769481updated scripting test to be more tolerant of changing error messages (changed since 2.6.0)
samhendley
2013-01-09 22:52:38 -05:00
610f7d4546Added incrByFloat and hincrByFloat commands (binary and standard) + support for pipelining and sharding
Eric Treworgy
2013-01-07 12:33:19 -08:00
7b7c6c9602fixed up some missing pipelined methods
samhendley
2012-12-26 11:58:48 -05:00
5bde3da7f2added interfaces for ScriptingCommands, AdvancedCommands most of jedis and binaryjedis are defined by interfaces
samhendley
2012-12-26 11:45:57 -05:00
cc0ef89b7dadded binary version of MultiKey commands
samhendley
2012-12-26 10:22:38 -05:00
2006d80ac5normalized BinaryJedisCommands to match JedisCommands (including setbit)
samhendley
2012-12-25 16:00:43 -05:00
429e45081eremoved functions in Jedis that overrode BinaryJedis versions
samhendley
2012-12-25 09:21:44 -05:00
333ac221e1extracted interfaces from Jedis
samhendley
2012-12-24 11:41:53 -05:00
c0bda88e2cNormalized Pipeline[] interfaces and extracted all of the non-shardable commands into the MultiKey* interfaces
samhendley
2012-12-24 10:45:19 -05:00
45be143e23Fixed binary safe pipeline commands and added tests for pipelined hash functions
shendley
2012-12-18 10:26:56 -05:00
bf9bba6ef2Extract string and binary common interfaces for Pipline and ShardedJedisPipeline. While I'm here add missing binary methods for some bit operations and fix return types for some sharded operations (e.g. getType)
guycoleman
2012-12-04 17:21:43 +00:00
7e95b1500fAdd getbit,setbit, getrange, setrange to BinaryShardedJedis
guycoleman
2012-12-03 15:47:25 +00:00
6bede66493Add strlen to ShardedJedis
guycoleman
2012-12-03 15:42:15 +00:00
0340fddb3aAdd persist to ShardedJedis
guycoleman
2012-12-03 15:36:30 +00:00
69b5291f80SENTINEL commands
Maciej Lopacinski
2012-11-18 19:58:13 +01:00
2058231a61Merge pull request #364 from thesmith/master
Jonathan Leibiusky
2012-11-02 12:54:25 -07:00
bdc517d7c4Merge pull request #365 from eujern/patch-1
Jonathan Leibiusky
2012-10-28 08:31:11 -07:00