hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen van Bemmel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8927) Use nano time instead of mili time everywhere
Date Tue, 03 Nov 2015 13:13:28 GMT

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

Jeroen van Bemmel commented on HBASE-8927:
------------------------------------------

A shift in system time ( e.g. ntpdate -u or date -s on Linux ) can cause a Zookeeper server
to close all client connections due to session timeout; it becomes unavailable for several
minutes until it recovers.
Using System.nanoTime() (in the right places) can potentially make the system immune to such
local time shifts, on platforms that support the monotonically increasing clock

> Use nano time instead of mili time everywhere
> ---------------------------------------------
>
>                 Key: HBASE-8927
>                 URL: https://issues.apache.org/jira/browse/HBASE-8927
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>              Labels: phoenix
>         Attachments: 8927-WIP-TEST.txt, 8927.txt
>
>
> Less collisions and we are paying the price of a long anyways so might as well fill it.



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

Mime
View raw message