<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Fri May 24 19:32:48 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-143/JCBC-143.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-143] Prepend should not require CAS</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-143</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Hopefully this is just a doc bug and not in the actual code, but all of the atomic updates including prepend (&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-prepend.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-prepend.html&lt;/a&gt;) should not require CAS.  That significantly defeats their performance effectiveness. &lt;br/&gt;
&lt;br/&gt;
If the function *does* require CAS, we should document that a CAS id of 0 will override the requirement to get the key again as in this example:&lt;br/&gt;
client.prepend(casv.getCas(),&amp;quot;samplekey&amp;quot;, &amp;quot;prependedstring&amp;quot;);&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20622">JCBC-143</key>
            <summary>Prepend should not require CAS</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Nov 2012 08:18:29 -0600</created>
                <updated>Fri, 21 Dec 2012 02:28:52 -0600</updated>
                    <resolved>Fri, 21 Dec 2012 02:28:52 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43652" author="daschl" created="Fri, 9 Nov 2012 10:23:02 -0600"  >This is not a doc bug, both prepend and append require CAS values.&lt;br/&gt;
&lt;br/&gt;
So is this still a doc enhancement or should we consider enhancing the library?</comment>
                    <comment id="43742" author="perry" created="Sat, 10 Nov 2012 11:17:13 -0600"  >I think a simple doc enhancement to inform the user that they can replace the actual CAS call with a 0 to avoid the second round-trip to the server.  There are a few situations where CAS would be appropriate for these ops, so it doesn&amp;#39;t make sense to remove it from the library, but the most common case is to use them as atomic operations and therefore not need CAS...so the doc update should just make that clearer.  Please make sure to note it on the various other atomic ops (incr/dev/append/touch/)</comment>
                    <comment id="46469" author="daschl" created="Fri, 21 Dec 2012 02:28:52 -0600"  >This is a duplicate for &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-196&quot; title=&quot;append/incr/decr/add/replace should not require CAS value to be passed&quot;&gt;JCBC-196&lt;/a&gt;, see the process over there.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="17923">JCBC-196</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9493</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>