[
https://issues.apache.org/jira/browse/CASSANDRA-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777750#action_12777750
]
Jun Rao commented on CASSANDRA-540:
-----------------------------------
>From java doc, it seems that getCompletedTaskCount() only "Returns the
>approximate total number of tasks that have completed execution." In addition
>to what Stu suggested, you probably can also check the task queue size.
Also, a couple of unit tests failed.
[junit] Testcase: testWithFlush(org.apache.cassandra.db.RecoveryManager2Test):
Caused an ERROR
[junit] null
[junit] java.lang.NullPointerException
[junit] at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:291)
[junit] at
org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:65)
[junit] at
org.apache.cassandra.db.RecoveryManager2Test.testWithFlush(RecoveryManager2Test.java:54)
[junit]
[junit]
[junit] Test org.apache.cassandra.db.RecoveryManager2Test FAILED
[junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTest
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0.656 sec
[junit]
[junit] Testcase: testOne(org.apache.cassandra.db.RecoveryManagerTest):
Caused an ERROR
[junit] null
[junit] java.lang.NullPointerException
[junit] at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:291)
[junit] at
org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:65)
[junit] at
org.apache.cassandra.db.RecoveryManagerTest.testOne(RecoveryManagerTest.java:66)
[junit]
[junit]
[junit] Test org.apache.cassandra.db.RecoveryManagerTest FAILED
> Commit log replays should be multithreaded
> ------------------------------------------
>
> Key: CASSANDRA-540
> URL: https://issues.apache.org/jira/browse/CASSANDRA-540
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: any
> Reporter: Brandon Williams
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.5
>
> Attachments: 540.patch
>
>
> Commit log replays are currently single threaded. This makes log replay
> speed limited when restarting a cassandra node.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.