hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Patel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18395) Update clock on region open and close
Date Tue, 25 Jul 2017 21:34:00 GMT

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

Amit Patel commented on HBASE-18395:

As of [^HBASE-18395.HBASE-14070.HLC.003.patch], it doesn't yet include proper mocking of the
clocks in TestClockWithCluster and passing of the timestamp type in the proto messages (see
for details on the potential issue). 

TODO: The tests in TestClockWithCluster would ideally also advance (for example) the physical
clock of the region server's HL clock by a fixed duration before region assignment/unassignmnet
and then assert that the master server's clock was advanced by said fixed duration (and vice

> Update clock on region open and close
> -------------------------------------
>                 Key: HBASE-18395
>                 URL: https://issues.apache.org/jira/browse/HBASE-18395
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Amit Patel
>            Assignee: Amit Patel
>            Priority: Minor
>         Attachments: HBASE-18395.HBASE-14070.HLC.001.patch, HBASE-18395.HBASE-14070.HLC.002.patch,
> This task covers the patch for updating the clock on region opening and closing. 
> The patch would include the following:
> * Addition of a new protobuf message type that contains a field for a timestamp
> * Setting of timestamp field in building region open/close request and response messages
> * Updating the clock upon receiving message
> The patch for this task will be going against the [HBASE-14070.HLC|https://git-wip-us.apache.org/repos/asf?p=hbase.git;a=shortlog;h=refs/heads/HBASE-14070.HLC]
branch with the intent that it would be added as a commit.

This message was sent by Atlassian JIRA

View raw message