[
https://issues.apache.org/jira/browse/CASSANDRA-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129833#comment-13129833
]
Flavio Baronti edited comment on CASSANDRA-3375 at 10/18/11 4:25 PM:
---------------------------------------------------------------------
Simple fix as proposed in description. I forgot to mention that the problem is
in HintedHandOffManager.
was (Author: flavio):
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