Song Jiacheng has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20822


Change subject: KUDU-3535 Should clear log cache while tombstoning a replica.
......................................................................

KUDU-3535 Should clear log cache while tombstoning a replica.

The log cache of a replica still exists even if the replica has been
already tombstoned. This problem might take place if we decrease
the replication factor of a table with high throughput.

So we should clear the log cache while deleting the replica with
delete type TABLET_DATA_TOMBSTONED.

Change-Id: I6cf545e604f80d41e7ebd9660acfd2e928cd27a9
---
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/log_cache.cc
M src/kudu/consensus/log_cache.h
3 files changed, 14 insertions(+), 5 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cf545e604f80d41e7ebd9660acfd2e928cd27a9
Gerrit-Change-Number: 20822
Gerrit-PatchSet: 1
Gerrit-Owner: Song Jiacheng <songjiach...@thinkingdata.cn>

Reply via email to