Skip to content

Commit 3ead3de

Browse files
committed
Merge remote-tracking branch 'redis/master' into xread-block-2
2 parents 954987f + 844477c commit 3ead3de

File tree

135 files changed

+6080
-4141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+6080
-4141
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ executors:
1717
linux-8-jdk:
1818
docker:
1919
- image: circleci/openjdk:8-jdk
20-
linux-7-jdk:
21-
docker:
22-
- image: circleci/openjdk:7-jdk
2320

2421
jobs:
2522
build:
@@ -70,5 +67,4 @@ workflows:
7067
- build:
7168
matrix:
7269
parameters:
73-
# os: [linux-8-jdk, linux-7-jdk]
7470
os: [linux-8-jdk]

.github/release-drafter-config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name-template: 'Version $NEXT_PATCH_VERSION🌈'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- title: 'Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'bug'
13+
- title: '🧰Maintenance'
14+
label: 'chore'
15+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
16+
exclude-labels:
17+
- 'skip-changelog'
18+
template: |
19+
## Changes
20+
21+
$CHANGES

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,17 @@ save ""
236236
appendonly no
237237
endef
238238

239+
# UNAVAILABLE REDIS NODES
240+
define REDIS_UNAVAILABLE_CONF
241+
daemonize yes
242+
protected-mode no
243+
port 6400
244+
pidfile /tmp/redis_unavailable.pid
245+
logfile /tmp/redis_unavailable.log
246+
save ""
247+
appendonly no
248+
endef
249+
239250
#STUNNEL
240251
define STUNNEL_CONF
241252
cert = src/test/resources/private.pem
@@ -278,6 +289,7 @@ export REDIS_CLUSTER_NODE3_CONF
278289
export REDIS_CLUSTER_NODE4_CONF
279290
export REDIS_CLUSTER_NODE5_CONF
280291
export REDIS_UDS
292+
export REDIS_UNAVAILABLE_CONF
281293
export STUNNEL_CONF
282294
export STUNNEL_BIN
283295

@@ -309,6 +321,7 @@ start: stunnel cleanup
309321
echo "$$REDIS_CLUSTER_NODE4_CONF" | redis-server -
310322
echo "$$REDIS_CLUSTER_NODE5_CONF" | redis-server -
311323
echo "$$REDIS_UDS" | redis-server -
324+
echo "$$REDIS_UNAVAILABLE_CONF" | redis-server -
312325

313326
cleanup:
314327
- rm -vf /tmp/redis_cluster_node*.conf 2>/dev/null
@@ -338,6 +351,7 @@ stop:
338351
kill `cat /tmp/redis_cluster_node5.pid` || true
339352
kill `cat /tmp/redis_uds.pid` || true
340353
kill `cat /tmp/stunnel.pid` || true
354+
[ -f /tmp/redis_unavailable.pid ] && kill `cat /tmp/redis_unavailable.pid` || true
341355
rm -f /tmp/sentinel1.conf
342356
rm -f /tmp/sentinel2.conf
343357
rm -f /tmp/sentinel3.conf

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,7 @@ Or use it as a maven dependency:
5858
<dependency>
5959
<groupId>redis.clients</groupId>
6060
<artifactId>jedis</artifactId>
61-
<version>3.4.1</version>
62-
<type>jar</type>
63-
<scope>compile</scope>
64-
</dependency>
65-
```
66-
67-
```xml
68-
<dependency>
69-
<groupId>redis.clients</groupId>
70-
<artifactId>jedis</artifactId>
71-
<version>2.10.2</version>
61+
<version>3.5.1</version>
7262
<type>jar</type>
7363
<scope>compile</scope>
7464
</dependency>
@@ -86,12 +76,13 @@ Or use it as a maven dependency:
8676
```
8777

8878
and
79+
8980
```xml
9081
<dependencies>
9182
<dependency>
9283
<groupId>redis.clients</groupId>
9384
<artifactId>jedis</artifactId>
94-
<version>3.5.0-SNAPSHOT</version>
85+
<version>3.6.0-SNAPSHOT</version>
9586
</dependency>
9687
</dependencies>
9788
```
@@ -147,14 +138,15 @@ Thanks for helping!
147138

148139
![RedisLabs Logo](logo-redislabs.png)
149140

141+
---
142+
143+
![YourKit Logo](https://cloud.githubusercontent.com/assets/1317309/4507430/7119527c-4b0c-11e4-9245-d72e751e26ee.png)
150144

151145
YourKit supports open source projects with its full-featured Java Profiler.
152146
YourKit, LLC is the creator of [YourKit Java Profiler](http://www.yourkit.com/java/profiler/index.jsp)
153147
and [YourKit .NET Profiler](http://www.yourkit.com/.net/profiler/index.jsp),
154148
innovative and intelligent tools for profiling Java and .NET applications.
155149

156-
![YourKit Logo](https://cloud.githubusercontent.com/assets/1317309/4507430/7119527c-4b0c-11e4-9245-d72e751e26ee.png)
157-
158150
## License
159151

160152
Copyright (c) 2011 Jonathan Leibiusky

pom.xml

Lines changed: 61 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2-
<parent>
3-
<groupId>org.sonatype.oss</groupId>
4-
<artifactId>oss-parent</artifactId>
5-
<version>7</version>
6-
</parent>
2+
<parent>
3+
<groupId>org.sonatype.oss</groupId>
4+
<artifactId>oss-parent</artifactId>
5+
<version>7</version>
6+
</parent>
7+
78
<modelVersion>4.0.0</modelVersion>
89
<packaging>jar</packaging>
910
<groupId>redis.clients</groupId>
1011
<artifactId>jedis</artifactId>
11-
<version>3.5.0-SNAPSHOT</version>
12+
<version>3.6.0-SNAPSHOT</version>
1213
<name>Jedis</name>
1314
<description>Jedis is a blazingly small and sane Redis java client.</description>
14-
<url>https://github.com/redis/jedis</url>
15+
<url>https://github.com/redis/jedis</url>
1516

1617
<mailingLists>
1718
<mailingList>
1819
<name>Jedis Mailing List</name>
1920
<post>jedis_redis@googlegroups.com</post>
2021
<archive>
21-
http://groups.google.com/group/jedis_redis
22-
</archive>
22+
http://groups.google.com/group/jedis_redis
23+
</archive>
2324
</mailingList>
2425
</mailingLists>
2526

@@ -36,18 +37,19 @@
3637
<url>http://github.com/redis/jedis/issues</url>
3738
</issueManagement>
3839

39-
<scm>
40-
<connection>scm:git:git@github.com:redis/jedis.git</connection>
41-
<url>scm:git:git@github.com:redis/jedis.git</url>
42-
<developerConnection>scm:git:git@github.com:redis/jedis.git</developerConnection>
43-
<tag>jedis-2.2.0</tag>
44-
</scm>
40+
<scm>
41+
<connection>scm:git:git@github.com:redis/jedis.git</connection>
42+
<url>scm:git:git@github.com:redis/jedis.git</url>
43+
<developerConnection>scm:git:git@github.com:redis/jedis.git</developerConnection>
44+
<tag>jedis-3.4.1</tag>
45+
</scm>
4546

4647
<properties>
4748
<redis-hosts>localhost:6379,localhost:6380,localhost:6381,localhost:6382,localhost:6383,localhost:6384,localhost:6385,localhost:6386</redis-hosts>
4849
<sentinel-hosts>localhost:26379,localhost:26380,localhost:26381</sentinel-hosts>
4950
<cluster-hosts>localhost:7379,localhost:7380,localhost:7381,localhost:7382,localhost:7383,localhost:7384,localhost:7385</cluster-hosts>
50-
<github.global.server>github</github.global.server>
51+
<github.global.server>github</github.global.server>
52+
<log4j.version>2.13.3</log4j.version>
5153
</properties>
5254

5355
<dependencies>
@@ -59,7 +61,7 @@
5961
<dependency>
6062
<groupId>org.apache.commons</groupId>
6163
<artifactId>commons-pool2</artifactId>
62-
<version>2.6.2</version>
64+
<version>2.9.0</version>
6365
<type>jar</type>
6466
<scope>compile</scope>
6567
</dependency>
@@ -74,19 +76,19 @@
7476
<dependency>
7577
<groupId>org.apache.logging.log4j</groupId>
7678
<artifactId>log4j-core</artifactId>
77-
<version>2.13.2</version>
79+
<version>${log4j.version}</version>
7880
<scope>test</scope>
7981
</dependency>
8082
<dependency>
8183
<groupId>org.apache.logging.log4j</groupId>
8284
<artifactId>log4j-slf4j-impl</artifactId>
83-
<version>2.11.1</version>
85+
<version>${log4j.version}</version>
8486
<scope>test</scope>
8587
</dependency>
8688
<dependency>
8789
<groupId>com.kohlschutter.junixsocket</groupId>
8890
<artifactId>junixsocket-core</artifactId>
89-
<version>2.3.1</version>
91+
<version>2.3.2</version>
9092
<scope>test</scope>
9193
</dependency>
9294
</dependencies>
@@ -124,66 +126,61 @@
124126
</executions>
125127
</plugin>
126128
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128129
<artifactId>maven-compiler-plugin</artifactId>
129130
<version>3.8.1</version>
130131
<configuration>
131-
<source>1.7</source>
132-
<target>1.7</target>
132+
<source>1.8</source>
133+
<target>1.8</target>
133134
</configuration>
134135
</plugin>
135136
<plugin>
136-
<groupId>org.apache.maven.plugins</groupId>
137137
<artifactId>maven-surefire-plugin</artifactId>
138-
<version>2.19.1</version>
138+
<version>2.22.2</version>
139139
<configuration>
140140
<systemPropertyVariables>
141141
<redis-hosts>${redis-hosts}</redis-hosts>
142142
</systemPropertyVariables>
143143
</configuration>
144144
</plugin>
145145
<plugin>
146-
<groupId>org.apache.maven.plugins</groupId>
147146
<artifactId>maven-source-plugin</artifactId>
148-
<version>2.2.1</version>
147+
<version>3.2.1</version>
149148
<configuration>
150149
<attach>true</attach>
151150
</configuration>
152-
<executions>
153-
<execution>
154-
<id>attach-sources</id>
155-
<goals>
156-
<goal>jar</goal>
157-
</goals>
158-
</execution>
159-
</executions>
151+
<executions>
152+
<execution>
153+
<id>attach-sources</id>
154+
<goals>
155+
<goal>jar</goal>
156+
</goals>
157+
</execution>
158+
</executions>
160159
</plugin>
161160
<plugin>
162-
<groupId>org.apache.maven.plugins</groupId>
163161
<artifactId>maven-javadoc-plugin</artifactId>
164-
<version>2.9.1</version>
162+
<version>2.10.4</version>
165163
<configuration>
166164
<aggregate>true</aggregate>
167165
<additionalparam>-Xdoclint:none</additionalparam>
168166
</configuration>
169-
<executions>
170-
<execution>
171-
<id>attach-javadoc</id>
172-
<goals>
173-
<goal>jar</goal>
174-
</goals>
175-
</execution>
176-
</executions>
167+
<executions>
168+
<execution>
169+
<id>attach-javadoc</id>
170+
<goals>
171+
<goal>jar</goal>
172+
</goals>
173+
</execution>
174+
</executions>
177175
</plugin>
178176
<plugin>
179-
<groupId>org.apache.maven.plugins</groupId>
180177
<artifactId>maven-release-plugin</artifactId>
181-
<version>2.4.2</version>
178+
<version>2.5.3</version>
182179
</plugin>
183180
<plugin>
184181
<groupId>org.sonatype.plugins</groupId>
185182
<artifactId>nexus-staging-maven-plugin</artifactId>
186-
<version>1.6.7</version>
183+
<version>1.6.8</version>
187184
<extensions>true</extensions>
188185
<configuration>
189186
<serverId>ossrh</serverId>
@@ -200,26 +197,26 @@
200197
</configuration>
201198
</plugin>
202199
<plugin>
203-
<artifactId>maven-jar-plugin</artifactId>
204-
<version>2.6</version>
205-
<configuration>
206-
<archive>
207-
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
208-
</archive>
209-
</configuration>
200+
<artifactId>maven-jar-plugin</artifactId>
201+
<version>3.0.2</version>
202+
<configuration>
203+
<archive>
204+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
205+
</archive>
206+
</configuration>
210207
</plugin>
211208
<plugin>
212209
<groupId>org.apache.felix</groupId>
213210
<artifactId>maven-bundle-plugin</artifactId>
214-
<version>2.5.3</version>
211+
<version>4.2.1</version>
215212
<executions>
216-
<execution>
217-
<id>bundle-manifest</id>
218-
<phase>process-classes</phase>
219-
<goals>
220-
<goal>manifest</goal>
221-
</goals>
222-
</execution>
213+
<execution>
214+
<id>bundle-manifest</id>
215+
<phase>process-classes</phase>
216+
<goals>
217+
<goal>manifest</goal>
218+
</goals>
219+
</execution>
223220
</executions>
224221
</plugin>
225222
</plugins>
@@ -231,9 +228,8 @@
231228
<plugins>
232229
<!--Sign the components - this is required by maven central for releases -->
233230
<plugin>
234-
<groupId>org.apache.maven.plugins</groupId>
235231
<artifactId>maven-gpg-plugin</artifactId>
236-
<version>1.5</version>
232+
<version>1.6</version>
237233
<executions>
238234
<execution>
239235
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)