You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/08/14 06:56:27 UTC
[jira] [Created] (CASSANDRA-3033) [patch] ensure full read of chuck
[patch] ensure full read of chuck
---------------------------------
Key: CASSANDRA-3033
URL: https://issues.apache.org/jira/browse/CASSANDRA-3033
Project: Cassandra
Issue Type: Improvement
Affects Versions: 0.8.4
Reporter: Dave Brosius
Priority: Trivial
Fix For: 0.8.5
Attachments: ensure_full_read.diff
code ignores result of RandomAccessFile.read which could potentially return less bytes than was requested. Code loops to read all bytes desired.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3033) [patch] ensure full read of chuck
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated CASSANDRA-3033:
------------------------------------
Attachment: ensure_full_read.diff
> [patch] ensure full read of chuck
> ---------------------------------
>
> Key: CASSANDRA-3033
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3033
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.4
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 0.8.5
>
> Attachments: ensure_full_read.diff
>
>
> code ignores result of RandomAccessFile.read which could potentially return less bytes than was requested. Code loops to read all bytes desired.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3033) [patch] ensure full read of chuck
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3033:
--------------------------------------
Reviewer: jbellis
Priority: Minor (was: Trivial)
Affects Version/s: (was: 0.8.4)
1.0
Fix Version/s: (was: 0.8.5)
1.0
Assignee: Dave Brosius
> [patch] ensure full read of chuck
> ---------------------------------
>
> Key: CASSANDRA-3033
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3033
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Minor
> Fix For: 1.0
>
> Attachments: ensure_full_read.diff
>
>
> code ignores result of RandomAccessFile.read which could potentially return less bytes than was requested. Code loops to read all bytes desired.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3033) [patch] ensure full read of
chuck
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084791#comment-13084791 ]
Hudson commented on CASSANDRA-3033:
-----------------------------------
Integrated in Cassandra #1023 (See [https://builds.apache.org/job/Cassandra/1023/])
fix read->readFully bug
patch by Dave Brosius and jbellis for CASSANDRA-3033
jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1157466
Files :
* /cassandra/trunk/src/java/org/apache/cassandra/io/compress/CompressedSequentialWriter.java
> [patch] ensure full read of chuck
> ---------------------------------
>
> Key: CASSANDRA-3033
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3033
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Minor
> Fix For: 1.0
>
> Attachments: ensure_full_read.diff
>
>
> code ignores result of RandomAccessFile.read which could potentially return less bytes than was requested. Code loops to read all bytes desired.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3033) [patch] ensure full read of
chuck
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-3033.
---------------------------------------
Resolution: Fixed
committed, w/ readFully instead of manual loop. thanks!
> [patch] ensure full read of chuck
> ---------------------------------
>
> Key: CASSANDRA-3033
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3033
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Minor
> Fix For: 1.0
>
> Attachments: ensure_full_read.diff
>
>
> code ignores result of RandomAccessFile.read which could potentially return less bytes than was requested. Code loops to read all bytes desired.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira