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: 1.0.0, 0.8.7, 0.7.9
         Environment: Windows
            Reporter: Flavio Baronti
            Priority: Minor
             Fix For: 1.0.1


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

        

Reply via email to