hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19415) Backport HBASE-19056 to branch-1.x
Date Mon, 04 Dec 2017 11:10:00 GMT

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

Chia-Ping Tsai commented on HBASE-19415:

The story in branch-1 is similar with master. The reassign will generate the put request to
update user table info in meta table. The put request about the user table info will be sent
to the suspended rs (the wal sync make rs kill itself) since the rs taking over the region
from suspend rs doesn't update it's region cache before submitting the request.
  public void postOpenDeployTasks(final PostOpenDeployContext context)
      throws KeeperException, IOException {
        // Update ZK, or META
    if (r.getRegionInfo().isMetaRegion()) {
      MetaTableLocator.setMetaLocation(getZooKeeper(), serverName, r.getRegionInfo().getReplicaId(),
    } else if (useZKForAssignment) {
      MetaTableAccessor.updateRegionLocation(getConnection(), r.getRegionInfo(),
        this.serverName, openSeqNum, masterSystemTime);
    if (!useZKForAssignment && !reportRegionStateTransition(new RegionStateTransitionContext(
        TransitionCode.OPENED, openSeqNum, masterSystemTime, r.getRegionInfo()))) {
      throw new IOException("Failed to report opened region to master: "
        + r.getRegionInfo().getRegionNameAsString());

Looped the tests with [~tedyu]'s solution 50 times. All pass. [~tedyu] Do you want to take
this over? Or I can do the backport if you have no free cycle.

> Backport HBASE-19056 to branch-1.x
> ----------------------------------
>                 Key: HBASE-19415
>                 URL: https://issues.apache.org/jira/browse/HBASE-19415
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Duo Zhang

This message was sent by Atlassian JIRA

View raw message