Binglin Chang has uploaded a new change for review.

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

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

Delete a tablet explicitely 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 prevant
pertential inconsistency lik this.

Change-Id: Ib58b1efc334a27e825e68f34dbf3f05c7da60606
---
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
2 files changed, 24 insertions(+), 8 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib58b1efc334a27e825e68f34dbf3f05c7da60606
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Binglin Chang <[email protected]>

Reply via email to