Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2206

Data loss during Redis master slave transition

$
0
0

I am using UnifiedJedis to perform read and write operations on Redis. I'm facing an issue with data loss when there is a master and slave.

The issue with the Jedis transaction was when we shut down the master POD and another slave became the master, that time some of the objects were lost even though we got the OK response from the transaction.

In Unified Jedis I tried with waitReplias(), but I'm still facing the same issue.

How do I resolve this issue?


Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>