Skip to content

Test is failing due to error org.redisson.client.WriteRedisConnectionException #124

Description

@kamalbctg

Concurrent Testing to check behavior of Rlock

Exception Details:
Time elapsed: 0.656 s <<< ERROR!
org.redisson.client.WriteRedisConnectionException: Unable to write command into connection! Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], connection: RedisConnection@574508184 [redisClient=[addr=redis://localhost:6333], channel=[id: 0xd62555f1, L:0.0.0.0/0.0.0.0:53997], currentCommand=null], command: (EVAL), params: [local v = redis.call('hget', KEYS[1], ARGV[1]); redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); retur..., 1, RequestRatelimitingCache, PooledUnsafeDirectByteBuf(ridx: 0, widx: 42, cap: 256), PooledUnsafeDirectByteBuf(ridx: 0, widx: 103, cap: 256)] after 3 retry attempts
Caused by: io.netty.channel.StacklessClosedChannelException

I was using following VM

Vagrant.configure("2") do |config|
     config.vm.box = "ubuntu/trusty64"
     config.vm.network :private_network, ip: "192.168.0.42"
     config.vm.synced_folder "tools", "/home/vagrant/apps"
     config.vm.provider :virtualbox do |vb|
        vb.customize ["modifyvm", :id, "--memory", "1024", "--cpus", "1"]
     end
end

Dependencies:

<dependency>
     <groupId>com.github.kstyrc</groupId>
     <artifactId>embedded-redis</artifactId>
     <version>0.6</version>
     <scope>test</scope>
</dependency>
<dependency>
     <groupId>org.redisson</groupId>
     <artifactId>redisson</artifactId>
     <version>3.15.3</version>
</dependency>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions