Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.02k stars 564 forks source link

[CRASH] Problems with docker in versión 6.3.2 and later #782

Open jcaballeroa opened 5 months ago

jcaballeroa commented 5 months ago

Crash report

Paste the complete crash log between the quotes below. Please include a few lines from the log preceding the crash report to provide some context.

Aditional information

  1. Ubuntu 22.04.2 LTS jammy
  2. Steps to reproduce (if any)

I have a Java application that uses a redundant KeyDB, load-balanced through HAProxy, where I store the elements with information to facilitate the business logic of my application. A few months ago, I pulled the Docker container for KeyDB, where I previously had version 6.0.18, and it was updated to version 6.3.2. However, shortly after this update, approximately a week after launching the containers, I started experiencing access issues with KeyDB. I continuously encounter the following error messages in my processes:

error

In the container logs, it appears that the primary node is unable to establish communication with the secondary node when the error occurs, and the connection timer expires:

logs

From the HAProxy statistics page, it is observed that the nodes are up for a few seconds (about 30 continuously) and then they are marked as not operational for approximately 1 minute before coming back up, only to go down again intermittently for both nodes.

This is the information of the containers:

version: '3' services:

haproxy: image: haproxy:latest ports:

I waited to see if later versions would change the situation by testing both 6.3.3 and 6.3.4, but the issue persists. I'm currently using version 6.0.18, which I initially had and with which I currently don't encounter any problems. However, I wouldn't like to remain stuck on a specific version of KeyDB in terms of future support for my application.

Thanks and Best Regards.