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

ReactiveRedisTemplate.delete(Publisher) and ReactiveRedisTemplate.unlink(Publisher) consider only first element

    Details

      Description

      delete(Publisher)} and {{unlink consider only the first element. We should accept all elements. This can potentially result in many DEL commands so buffering (128 items) might be a good approach.

      The code to reproduce is (assuming keys yields more than a single key):

      redisTemplate.delete(redisTemplate.keys(PREFIX + STAR_PATTERN))
                      .subscribe(count -> LOGGER.info("Removed {}", count));
      

        Attachments

          Activity

            People

            • Assignee:
              mp911de Mark Paluch
              Reporter:
              mp911de Mark Paluch
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: