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

Stefan Egli commented on OAK-4030:
----------------------------------

bq. One workaround seems to be to install custom ntp clients; but do we really 
want to require this?
Yes, I think this should be a recommendation in general for servers in my view.
bq. Can this be closed or do we need to do anything here for 1.6
The only thing that comes to mind - if Windows machines indeed have a 4..5sec 
accuracy issue, is that we could try to detect that and change the default from 
2sec to higher. But actually, we're also making assumptions that times are 
accurate elsewhere (for revision comparisons), so increasing the allowed time 
difference sounds like a bad idea. So I would rather adjust documentation and 
require accurate clocks via ntp.

> DocumentNodeStore: required server time accuracy
> ------------------------------------------------
>
>                 Key: OAK-4030
>                 URL: https://issues.apache.org/jira/browse/OAK-4030
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Julian Reschke
>              Labels: resilience
>             Fix For: 1.6
>
>
> The DocumentNodeStore currently requires that the local time and the 
> persistence time differ at most 2 seconds.
> I recently tried to run a cluster with two Windows machines, and despite them 
> being configured to use the same NTP service, they were still 4..5 s off.
> https://blogs.technet.microsoft.com/askds/2007/10/23/high-accuracy-w32time-requirements/
>  seems to confirm that by default, Windows can't provide the required 
> accuracy.
> One workaround seems to be to install custom ntp clients; but do we really 
> want to require this?



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

Reply via email to