redisson icon indicating copy to clipboard operation
redisson copied to clipboard

SLAVE ReadMode changes are not documented.

Open yikolemon opened this issue 11 months ago • 2 comments

In Commit ad86d45:

Image

there was a change to readMode. In the cluster-settings documentation, the readMode description states: redisson-docs SLAVE - Read from slave nodes, uses MASTER if no SLAVES are available. This behavior only works starting from version 3.27.0.

Image

In versions below 3.27.0: SLAVE only reads from slave nodes.

This configuration does not indicate version support, which can easily lead to production issues due to version differences.

yikolemon avatar Dec 29 '25 06:12 yikolemon

Commit you're referring to is only a refactoring and doesn't affect this functionality. MASTER has been used if no SLAVES are available since the old times.

mrniko avatar Dec 31 '25 11:12 mrniko

You are right, thank u very much! My mistake.

yikolemon avatar Dec 31 '25 12:12 yikolemon