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

          perry Perry Krug created issue -
          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)?
          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.
          ingenthr Matt Ingenthron made changes -
          Field Original Value New Value
          Fix Version/s 2.8-beta [ 10202 ]
          Priority Major [ 3 ] Minor [ 4 ]
          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.
          mikew Mike Wiederhold made changes -
          Fix Version/s 2.8-beta [ 10202 ]
          Priority Minor [ 4 ] Major [ 3 ]
          mikew Mike Wiederhold made changes -
          Fix Version/s 3.0 [ 10230 ]
          mikew Mike Wiederhold made changes -
          Assignee Mike Wiederhold [ mikew ]
          perry Perry Krug made changes -
          Project Spymemcached Java Client [ 10047 ] Couchbase Java Client [ 10080 ]
          Key SPY-34 JCBC-193
          Affects Version/s 2.8-developer-preview [ 10200 ]
          Fix Version/s 3.0 [ 10230 ]
          Component/s library [ 10140 ]
          Component/s library [ 10120 ]
          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?
          daschl Michael Nitschinger made changes -
          Assignee Matt Ingenthron [ ingenthr ]
          daschl Michael Nitschinger made changes -
          Link This issue duplicates JCBC-164 [ JCBC-164 ]
          daschl Michael Nitschinger made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          ingenthr Matt Ingenthron made changes -
          Workflow jira [ 14970 ] Couchbase SDK Workflow [ 38284 ]

            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