<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu May 23 22:16:41 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/JCBC-196/JCBC-196.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[JCBC-196] append/incr/decr/add/replace should not require CAS value to be passed</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-196</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the current implementation, there is no method for a non-CAS version of the append/prepend/incr/decr/add/replace operations.  As per the memcached protocol, these operations do not require (but may be used with) a CAS id and requiring one greatly reduces the performance available by requiring a gets prior to the operation.&lt;br/&gt;
&lt;br/&gt;
Perry</description>
                <environment></environment>
            <key id="17923">JCBC-196</key>
            <summary>append/incr/decr/add/replace should not require CAS value to be passed</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jun 2012 08:41:39 -0500</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="36504" author="rags" created="Wed, 22 Aug 2012 11:00:30 -0500"  >The incr, decr, add and replace do have calls that do not require CAS Id. For the append and prepend methods&lt;br/&gt;
&lt;br/&gt;
you could do something like this&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c.prepend(0, &amp;quot;prepend-key&amp;quot;, &amp;quot;value&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
which would not require a CAS to be supplied/fetched. Will this suffice for now?&lt;br/&gt;
&lt;br/&gt;
My suggestion would be to close this issue and open a separate issue for just append and prepend if it&amp;#39;s still deemed a bug.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="46470" author="daschl" created="Fri, 21 Dec 2012 02:30:43 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23486/&quot;&gt;http://review.couchbase.org/#/c/23486/&lt;/a&gt;</comment>
                    <comment id="46481" author="perry" created="Fri, 21 Dec 2012 05:13:49 -0600"  >This will need a docs update as well...</comment>
                    <comment id="49832" author="perry" created="Wed, 6 Feb 2013 05:18:38 -0600"  >Michael, just to add here, I think it would be sufficient to document this rather than changing the API itself.  Documenting that you can (and should!) pass 0 for the CAS value when using these operations.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="20622">JCBC-143</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>30</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>
</channel>
</rss>