Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7197

[Memcached] wrong functionality for touch command with 0 expiration

XMLWordPrintable

      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
      

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

                Created:
                Updated:
                Resolved: