reactome / gsa-backend

Backend code of the Kubernetes based ReactomeGSA Analysis System
4 stars 1 forks source link

Prevent logging of RedisCluster MOVED exceptions #8

Closed jgriss closed 3 years ago

jgriss commented 3 years ago

These exceptions do not influence the functionality of the application. They are caused by the fact that the various nodes run for a significant amount of time. Then, the threshold of "MOVED" responses is reached and the connection needs to be re-initialized. But this is not an error but expected behavior.

Solution

  1. Find a way to only ignore these log messages
  2. Disable logging for the whole rediscluster library (suboptimal solution)
jgriss commented 3 years ago

This was solved by the latest change of how we connect to the redis cluster