You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Binglin Chang (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/01/22 17:04:56 UTC

[kudu-CR] Delete a tablet explicitly when it is replaced

Hello Internal Jenkins,

I'd like you to reexamine a change.  Please visit

    http://gerrit.cloudera.org:8080/1770

to look at the new patch set (#2).

Change subject: Delete a tablet explicitly when it is replaced
......................................................................

Delete a tablet explicitly when it is replaced

When master send CreateReplica to all replica peers of a tablet, if any
peer timeout, master will replace the old tablet with a new one, but it
will not delete the old replicas on TS. These relicas will be removed if
TS report them to master, but only when:

  1. Quorum config change.
  2. TS start and make a full report.

If none of those happen, these replicas become orphaned replicas.

Also we may need to add periodic full replica report in TS, to prevent
potential inconsistencies like this, Haven't figure out how to identify
and log the inconsistency accurately, so defer this.

Change-Id: Ib58b1efc334a27e825e68f34dbf3f05c7da60606
---
M src/kudu/integration-tests/create-table-itest.cc
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
3 files changed, 37 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/1770/2
-- 
To view, visit http://gerrit.cloudera.org:8080/1770
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib58b1efc334a27e825e68f34dbf3f05c7da60606
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Binglin Chang <de...@gmail.com>
Gerrit-Reviewer: Binglin Chang <de...@gmail.com>
Gerrit-Reviewer: Internal Jenkins
Gerrit-Reviewer: Mike Percy <mp...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>