Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3243

Inconsistent behaviour of operations HotRod.clear vs Memcached.flushAll wrt CacheStore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • 5.2.6.Final, 5.3.0.Final
    • Loaders and Stores
    • None

      Affecting 5.3.0-SNAPSHOT and 5.2.x branch

      When using hot rod client the clear() operation deletes all entries also in the cache store

      When using memcached client the flush_all operation deletes entries only in the memory

      hotrod behaviour:
      https://github.com/infinispan/infinispan/blob/5.3.x/server/hotrod/src/main/scala/org/infinispan/server/hotrod/Decoder10.scala#L183

      memcached behaviour:
      https://github.com/infinispan/infinispan/blob/5.3.x/server/memcached/src/main/scala/org/infinispan/server/memcached/MemcachedDecoder.scala#L354

      shouldn't they be consistent ?

              rh-ee-galder Galder ZamarreƱo
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: