cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyuben Todorov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6969) Use Unsafe Mutations Where Possible in Unit Tests
Date Wed, 09 Jul 2014 00:54:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055716#comment-14055716
] 

Lyuben Todorov commented on CASSANDRA-6969:
-------------------------------------------

[~jbellis] {{20 sec}} improvement when running without extra runners:
pre:   BUILD SUCCESSFUL Total time: 8 minutes 2 seconds
post: BUILD SUCCESSFUL Total time: 7 minutes 43 seconds 

{{8 sec}} when running with 8 runners:
pre:   BUILD SUCCESSFUL Total time: 3 minutes 27 seconds
post: BUILD SUCCESSFUL Total time: 3 minutes 19 seconds


> Use Unsafe Mutations Where Possible in Unit Tests
> -------------------------------------------------
>
>                 Key: CASSANDRA-6969
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6969
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Tyler Hobbs
>            Assignee: Lyuben Todorov
>            Priority: Minor
>             Fix For: 2.1 rc3
>
>         Attachments: 0001-Use-unsafe-mutations-for-unit-tests.patch
>
>
> Since the test config uses the "batch" mode for the commitlog, safe writes are quite
slow.  In tests that don't rely on safe writes, we should use unsafe writes.  This mostly
consists of converting {{RowMutation.apply()}} calls into {{RowMutation.applyUnsafe()}} calls.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message