helifu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14566


Change subject: KUDU-1929 p1: trash is supported while dropping tables
......................................................................

KUDU-1929 p1: trash is supported while dropping tables

1) Add a new field to persist the deletion time for the trashed
table/tablets on the master;
2) Add a new boolean variable to represent the trash state for
tablets on the tserver;
3) The trash state of the tablet can be synchronized by heartbeat
messages (master -> tserver);
4) The CatalogManagerBgTasks will delete the trash tables that
are timeout.

Change-Id: I112da81727db6f64026a54311d88e436c34ad6d8
---
M src/kudu/client/client-internal.cc
M src/kudu/client/client-internal.h
M src/kudu/client/client.cc
M src/kudu/client/client.h
M src/kudu/client/master_proxy_rpc.cc
M src/kudu/integration-tests/delete_table-itest.cc
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/master/master_service.h
M src/kudu/tablet/metadata.proto
M src/kudu/tablet/tablet_replica.cc
M src/kudu/tablet/tablet_replica.h
M src/kudu/tserver/tablet_service.cc
M src/kudu/tserver/tablet_service.h
M src/kudu/tserver/ts_tablet_manager.cc
M src/kudu/tserver/ts_tablet_manager.h
M src/kudu/tserver/tserver_admin.proto
19 files changed, 2,164 insertions(+), 1,297 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I112da81727db6f64026a54311d88e436c34ad6d8
Gerrit-Change-Number: 14566
Gerrit-PatchSet: 1
Gerrit-Owner: helifu <[email protected]>

Reply via email to