question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redisson client keeps running after shutdown invoked

See original GitHub issue

I have the following code:

RedissonClient redisson = Redisson.create();

RMap<Object, Object> mymap = redisson.getMap("mymap");
mymap.put("field1", "value1");
mymap.put("field1", "value2");

redisson.shutdown();

logger.info("Here but JVM still runs after this line");

And the output is:

2018-02-01 15:24:14 INFO  Version:41 - Redisson 3.6.0
2018-02-01 15:24:14 INFO  MasterPubSubConnectionPool:144 - 1 connections initialized for /127.0.0.1:6379
2018-02-01 15:24:14 INFO  MasterConnectionPool:144 - 10 connections initialized for /127.0.0.1:6379
2018-02-01 15:24:17 INFO  RedisTest:21 - Here but JVM still runs after this line

What is other than shutdown needed for graceful shutdown?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
johnoucommented, Feb 2, 2018

Fixed in the next (unreleased) version of Netty.

https://github.com/netty/netty/pull/7627

0reactions
mrnikocommented, Feb 7, 2018

@johnou It’s just a question of time 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redisson Spring - Unexpected exception while processing ...
I think there might be a key conflict in the Redis. It is possible you the key ( obj ) already exists and...
Read more >
mrniko/redisson - Gitter
RedissonMap.get is invoked and it is waiting to get the answer back from redis ... Unless it is taken during/after the shutdown of...
Read more >
Asynchronous, Reactive, and RxJava2 Interfaces for Redis
The good news is that all three of these programming models are available in Redis using Redisson, a third-party client library that integrates ......
Read more >
Redis Streams for Java - Redisson
The Redis Streams data type has been optimized for working with large quantities of ... Redisson is a third-party Redis Java client that...
Read more >
Index (Redisson 3.8.1 API) - Javadoc.io
Adds connection listener which will be triggered when Redisson has just been connected to or disconnected from ... Method in class org.redisson.client.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found