Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      Customer request to allow CAS with delete option to ensure that an item has not changed since the last time it was read

        Issue Links

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          daschl Michael Nitschinger added a comment -

          Does it make sense to implement cas delete?

          Show
          daschl Michael Nitschinger added a comment - Does it make sense to implement cas delete?
          Hide
          mikew Mike Wiederhold added a comment -

          I think that to implement this correctly we would need to refactor a bunch of code. The reason is that you can actually use cas values with every command and as a result it wouldn't make sense to create duplicate functions for every command (delete included). I am going to move it to the 3.0 release as a result.

          Show
          mikew Mike Wiederhold added a comment - I think that to implement this correctly we would need to refactor a bunch of code. The reason is that you can actually use cas values with every command and as a result it wouldn't make sense to create duplicate functions for every command (delete included). I am going to move it to the 3.0 release as a result.
          Hide
          MarcusLongmuir Marcus Longmuir added a comment -

          The discussion which brought about this issue is found here:
          http://www.couchbase.org/forums/thread/set-or-return-current-value

          CAD is exactly what I meant and would probably be the most appropriate function name.

          Show
          MarcusLongmuir Marcus Longmuir added a comment - The discussion which brought about this issue is found here: http://www.couchbase.org/forums/thread/set-or-return-current-value CAD is exactly what I meant and would probably be the most appropriate function name.
          Hide
          mikew Mike Wiederhold added a comment -

          Do you mean you want a single operation that does deletes and operation only if it hasn't changed. In other words you want CAD (check and delete)?

          Show
          mikew Mike Wiederhold added a comment - Do you mean you want a single operation that does deletes and operation only if it hasn't changed. In other words you want CAD (check and delete)?

            People

            • Assignee:
              ingenthr Matt Ingenthron
              Reporter:
              perry Perry Krug
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes