<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed Jun 19 08:15:39 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-6538/MB-6538.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-6538] In rare cases CRC codes dont match when reading data from couch file </title>
                <link>http://www.couchbase.com/issues/browse/MB-6538</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I experimented with building index on 6 cluster_run nodes and 9E6 simple docs. Everything went fine and results appeared right, but I&amp;#39;m seeing &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
[ns_server:debug,2012-09-05T21:31:14.218,&lt;a href=&apos;mailto:n_5@10.17.21.241&apos;&gt;n_5@10.17.21.241&lt;/a&gt;:compaction_daemon:compaction_daemon:schedule_next_compaction:1204]Finished compaction too soon. Next run will be in 30s&lt;br/&gt;
[couchdb:error,2012-09-05T21:31:14.296,&lt;a href=&apos;mailto:n_2@10.17.21.241&apos;&gt;n_2@10.17.21.241&lt;/a&gt;:&amp;lt;0.9681.0&amp;gt;:couch_log:error:42]Set view `default`, replica group `_design/dev_t`, doc loader error&lt;br/&gt;
error:      {file_corruption,&amp;lt;&amp;lt;&amp;quot;file corruption&amp;quot;&amp;gt;&amp;gt;}&lt;br/&gt;
stacktrace: [{couch_file,pread_iolist,2},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_db,open_doc_int,3},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_set_view_updater,load_doc,4},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_set_view_updater,&amp;#39;-load_changes/7-fun-0-&amp;#39;,6},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_btree,stream_kv_node2,8},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_btree,stream_kp_node,7},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_btree,fold,4},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{couch_db,enum_docs_since,5}]&lt;br/&gt;
&lt;br/&gt;
[couchdb:error,2012-09-05T21:31:14.297,&lt;a href=&apos;mailto:n_2@10.17.21.241&apos;&gt;n_2@10.17.21.241&lt;/a&gt;:&amp;lt;0.6715.0&amp;gt;:couch_log:error:42]Set view `default`, replica group `_design/dev_t`, received error from updater: {file_corruption,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&amp;lt;&amp;quot;file corruption&amp;quot;&amp;gt;&amp;gt;}&lt;br/&gt;
[couchdb:info,2012-09-05T21:31:17.856,&lt;a href=&apos;mailto:n_2@10.17.21.241&apos;&gt;n_2@10.17.21.241&lt;/a&gt;:&amp;lt;0.6715.0&amp;gt;:couch_log:info:39]Starting updater for set view `default`, replica group `_design/dev_t`&lt;br/&gt;
[couchdb:info,2012-09-05T21:31:17.856,&lt;a href=&apos;mailto:n_2@10.17.21.241&apos;&gt;n_2@10.17.21.241&lt;/a&gt;:&amp;lt;0.9753.0&amp;gt;:couch_log:info:39]Updater for set view `default`, replica group `_design/dev_t` started&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
in logs. Will attach logs from this box.</description>
                <environment></environment>
            <key id="19595">MB-6538</key>
            <summary>In rare cases CRC codes dont match when reading data from couch file </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="aaron">Aaron Miller</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>2.0-beta-release-notes</label>
                    </labels>
                <created>Wed, 5 Sep 2012 23:33:03 -0500</created>
                <updated>Wed, 24 Oct 2012 12:13:24 -0500</updated>
                    <resolved>Wed, 24 Oct 2012 12:13:24 -0500</resolved>
                                            <fixVersion>2.0</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="37813" author="karan" created="Wed, 5 Sep 2012 23:34:37 -0500"  >Which build?</comment>
                    <comment id="37814" author="karan" created="Wed, 5 Sep 2012 23:34:50 -0500"  >ohh. cluster_run</comment>
                    <comment id="37831" author="FilipeManana" created="Thu, 6 Sep 2012 04:58:45 -0500"  >This happens when reading from a database file, not from an index file.</comment>
                    <comment id="37908" author="alkondratenko" created="Thu, 6 Sep 2012 19:37:40 -0500"  >corrupted files attached</comment>
                    <comment id="38392" author="aaron" created="Mon, 10 Sep 2012 19:07:21 -0500"  >in the corrupted doc in 252.couch it looks like the file got stomped on by one byte. Both docs have the same CRC, and should have the same data, but this byte got messed up somehow.</comment>
                    <comment id="38393" author="aaron" created="Mon, 10 Sep 2012 19:07:43 -0500"  >see attached screenshot</comment>
                    <comment id="38412" author="aaron" created="Mon, 10 Sep 2012 20:39:37 -0500"  >other file (253.couch.1)</comment>
                    <comment id="39142" author="aaron" created="Sun, 16 Sep 2012 16:05:53 -0500"  >I don&amp;#39;t understand the name change here. The files in question were never compacted.</comment>
                    <comment id="39208" author="kzeller" created="Mon, 17 Sep 2012 17:04:49 -0500"  >Added to beta release notes:   In rare cases codes used to test for data corruption (CRC, checksum) codes do not match when reading data from couch&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;file.</comment>
                    <comment id="40144" author="farshid" created="Tue, 2 Oct 2012 12:52:16 -0500"  >Aliaksey,&lt;br/&gt;
&lt;br/&gt;
did you use RAM disk for persistence when running this test ?</comment>
                    <comment id="40274" author="alkondratenko" created="Wed, 3 Oct 2012 18:50:22 -0500"  >No. Don&amp;#39;t understand why this would matter. _Any_ (well except for direct io) write to filesystem is write to kernel&amp;#39;s page cache first.&lt;br/&gt;
</comment>
                    <comment id="40444" author="damien" created="Thu, 4 Oct 2012 18:10:15 -0500"  >We think this was a regression, possibly a dangling pointer, in the ep-engine that has since been fixed. Please reopen if there is another instance of the recently.</comment>
                    <comment id="42342" author="alkondratenko" created="Tue, 23 Oct 2012 19:01:07 -0500"  >got this again</comment>
                    <comment id="42343" author="alkondratenko" created="Tue, 23 Oct 2012 19:01:42 -0500"  >vbucket in question was in bucket other which was populated by incoming xdcr</comment>
                    <comment id="42344" author="alkondratenko" created="Tue, 23 Oct 2012 19:02:48 -0500"  >attaching diags from node having that badness</comment>
                    <comment id="42377" author="aaron" created="Wed, 24 Oct 2012 04:35:23 -0500"  >Single byte error again.</comment>
                    <comment id="42398" author="alkondratenko" created="Wed, 24 Oct 2012 12:13:24 -0500"  >Sorry folks, found that my box actually has bad RAM.</comment>
                </comments>
                    <attachments>
                    <attachment id="15535" name="158.couch.4.xz" size="358228" author="alkondratenko" created="Tue, 23 Oct 2012 19:01:20 -0500" />
                    <attachment id="14802" name="252.couch.1.xz" size="1188412" author="alkondratenko" created="Thu, 6 Sep 2012 19:37:40 -0500" />
                    <attachment id="14803" name="253.couch.1.xz" size="1181228" author="alkondratenko" created="Thu, 6 Sep 2012 19:37:40 -0500" />
                    <attachment id="14928" name="corrupt2.png" size="169713" author="aaron" created="Mon, 10 Sep 2012 20:39:37 -0500" />
                    <attachment id="14924" name="corruption.png" size="392195" author="aaron" created="Mon, 10 Sep 2012 19:05:45 -0500" />
                    <attachment id="14784" name="ns-diag-20120905213312.txt.xz" size="421152" author="alkondratenko" created="Wed, 5 Sep 2012 23:33:38 -0500" />
                    <attachment id="15536" name="ns-diag-20121023170207.txt.xz" size="851968" author="alkondratenko" created="Tue, 23 Oct 2012 19:02:48 -0500" />
                    <attachment id="15541" name="Untitled 2 vs Untitled.png" size="170698" author="aaron" created="Wed, 24 Oct 2012 04:35:23 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 5 Sep 2012 23:34:37 -0500</customfieldvalue>

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