hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-2256) Delete row, followed quickly to put of the same row will sometimes fail.
Date Thu, 07 Apr 2011 21:04:05 GMT

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

Ted Yu commented on HBASE-2256:
-------------------------------

{code}
	  long l = System.nanoTime();
	  long l2 = System.currentTimeMillis();
{code}
Looking at the values of l (1302209826865074000) and l2 (1302209826865), nanoTime is aligned
with time in millis.
Assuming nano and milli timestamps correlate, we can devise (correction) mechanism in master
and region servers such that (corrected) nano timestamp reflects the actual millisecond timestamp.

> Delete row, followed quickly to put of the same row will sometimes fail.
> ------------------------------------------------------------------------
>
>                 Key: HBASE-2256
>                 URL: https://issues.apache.org/jira/browse/HBASE-2256
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.3
>            Reporter: Clint Morgan
>         Attachments: hbase-2256.patch
>
>
> Doing a Delete of a whole row, followed immediately by a put to that row will sometimes
miss a cell. Attached is a test to provoke the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message