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

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

Re the fact that some RDB have a server time resolution of 1sec - resulting in 
higher likelihood of the overall diff to be reported as 2 sec - the 
[DocumentNodeStore allows up to 2000ms 
diff|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java#L516]
 (using >) - so no need for any change in that regard

> 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.4
>
>
> 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