<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 19 09:23:40 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/MB-4195/MB-4195.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>[MB-4195] append/prepend leaks item memory on CAS mismatch</title>
                <link>http://www.couchbase.com/issues/browse/MB-4195</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Chiyoung found one case of memory leak with append/prepend in the 1.7.x ep-engine code. The scenario is...&lt;br/&gt;
&lt;br/&gt;
If the client app is using CAS with their append/prepend operations, and they have concurrent clients trying to append to the same hot item, then several of the concurrent clients could be &amp;quot;rejected&amp;quot; in that their CAS values are out of date.  The rejected CAS-mismatch clients would see a EEXISTS error code if they&amp;#39;re binary protocol clients.  These requests that have rejected CAS-mismatch will leak the item.&lt;br/&gt;
&lt;br/&gt;
This should also be reproducible with a single client, where any append operations use a bogus CAS number.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="14875">MB-4195</key>
            <summary>append/prepend leaks item memory on CAS mismatch</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="steve">Steve Yen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Aug 2011 14:42:40 -0500</created>
                <updated>Tue, 10 Apr 2012 21:03:17 -0500</updated>
                    <resolved>Tue, 16 Aug 2011 17:18:51 -0500</resolved>
                            <version>1.7.1</version>
                                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="21675" author="farshid" created="Mon, 15 Aug 2011 17:36:19 -0500"  >Integrated in github-ep-engine-1-7-1 #142 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-1-7-1/142/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-1-7-1/142/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4195&quot; title=&quot;append/prepend leaks item memory on CAS mismatch&quot;&gt;&lt;strike&gt;MB-4195&lt;/strike&gt;&lt;/a&gt; Free an item if prepend/append failed due to CAS mismatches&lt;br/&gt;
&lt;br/&gt;
Chiyoung Seo : &lt;br/&gt;
Files : &lt;br/&gt;
* ep_engine.cc&lt;br/&gt;
</comment>
                    <comment id="21685" author="chiyoung" created="Tue, 16 Aug 2011 17:18:51 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#change,8965&quot;&gt;http://review.couchbase.org/#change,8965&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 15 Aug 2011 17:36:19 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>6214</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>