Uploaded image for project: 'Spring Data Redis'
  1. Spring Data Redis
  2. DATAREDIS-842

LettuceConnectionFactory.getSentinelRedisURI does not set database

    XMLWordPrintable

    Details

      Description

      The issue happens when create LettuceConnectionFactory via RedisSentinelConfiguration with a database different from 0. We have checked read operations perform successfully over the selected database, but write operations always perform over database 0.

      This occurs becauseĀ LettuceConnectionFactory.getSentinelRedisURI does not set database.

      We've seen this behavior while creating a CacheManager using the connection factory explained above.

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            rcfisic Ruben Cervilla Medina
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: