cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9403) Experiment with skipping file syncs during unit tests to reduce test time
Date Fri, 22 May 2015 22:16:17 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-9403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tyler Hobbs updated CASSANDRA-9403:
-----------------------------------
    Fix Version/s: 2.2.x
                   3.x

> Experiment with skipping file syncs during unit tests to reduce test time
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9403
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9403
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>             Fix For: 3.x, 2.2.x
>
>
> Some environments have ridiculous outliers for disk syncing. 20 seconds ridiculous.
> Unit tests aren't testing crash safety so it is a pointless exercise.
> Instead we could intercept calls to sync files and check whether it looks like the sync
would succeed. Check that the things are not null, mapped, closed etc. Outside of units tests
it can go straight to the regular sync call.
> I would also like to have the disks for unit and dtests mounted with barrier=0,noatime,nodiratime
to further reduce susceptibility to outliers. We aren't going to recover these nodes if they
crash/restart.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message