[
https://issues.apache.org/jira/browse/HBASE-8927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706136#comment-13706136
]
stack commented on HBASE-8927:
------------------------------
We could left shift millis in the long and then keep incrementing sequence
number within a millisecond? (more expensive than call to nano).
On CLOCK_MONOTONIC from http://linux.die.net/man/3/clock_gettime, it says
"Clock that cannot be set and represents monotonic time since some unspecified
starting point." which is off-putting but when I print it out it is same as
millis.
Did you see it going backward or out of order on SMP Enis (in spite of
CLOCK_MONOTONIC)? Were you on windows?
> 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
> Attachments: 8927.txt
>
>
> Less collisions and we are paying the price of a long anyways so might as
> well fill it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira