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

[Memcached] wrong functionality for touch command with 0 expiration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 15.0.5.Final
    • Memcached
    • None

      When using `touch` command with expiration value `0`, the server doesn't return the updated entry any more, even though from statistics I can see that the `curr_items` number haven't changed :

      set visitors 0 100 8
      Manukyan
      STORED
      get visitors
      VALUE visitors 0 8
      Manukyan
      END
      touch visitors 300
      TOUCHED
      get visitors
      VALUE visitors 0 8
      Manukyan
      END
      touch visitors 0
      TOUCHED
      get visitors
      END
      touch visitors 300
      NOT_FOUND
      

            Unassigned Unassigned
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: