You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Flavio Baronti (Updated) (JIRA)" <ji...@apache.org> on 2011/10/18 18:25:10 UTC

[jira] [Updated] (CASSANDRA-3375) Avoid clock drift on some Windows machines

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

Flavio Baronti updated CASSANDRA-3375:
--------------------------------------

    Attachment: trunk-3375.txt

Simple patch
                
> Avoid clock drift on some Windows machines
> ------------------------------------------
>
>                 Key: CASSANDRA-3375
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3375
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.9, 0.8.7, 1.0.0
>         Environment: Windows
>            Reporter: Flavio Baronti
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.1
>
>         Attachments: trunk-3375.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Performing Thread.sleep() with non-rounded values increases the frequency of interrupts on Windows machines; this can cause performance problems, and on some machines even clock drift problems for the duration of the sleep.
> Fixing the issue is trivial: lower the degree of randomness by allowing only "rounded" sleep periods.
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6464007
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6435126

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira