You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2008/11/21 22:43:44 UTC

[jira] Commented: (HBASE-1014) commit(BatchUpdate) method should return timestamp

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

Jean-Daniel Cryans commented on HBASE-1014:
-------------------------------------------

I think it would be better to just set the value of the timestamp in the BatchUpdate instead of returning it. An example of what could go wrong, starting in 0.19, the commit may just be putting the BUs in a cache waiting for a flush, so what would it return in that case? 

The set should be done client side (current time if none provided).

> commit(BatchUpdate)  method should return timestamp
> ---------------------------------------------------
>
>                 Key: HBASE-1014
>                 URL: https://issues.apache.org/jira/browse/HBASE-1014
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Slava
>
> The commit(BatchUpdate) and commit(list<BatchUpdate>) should return timestamp that BatchUpdate was committed with (in the case of commit(list<BatchUpdate> should return array of timestamps). 
> This should reduce number of round trips and improve performance in update operations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.