yejiabao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17907


Change subject: [tablet] KUDU-3325 When wal is deleted, fault recovery and load 
balancing are abnormal
......................................................................

[tablet] KUDU-3325 When wal is deleted, fault recovery and load balancing are 
abnormal

This patch is to fix when wal be deleted (when the wal/cmate term disagreement 
or other issues make the wal file cannot to use) , the request raft config 
change be ignore, so that some functions abnoraml (e.g. tablet fault recovery, 
rebalance).

Here we use opid_index recorded in cmeta to init index in wal when tablet 
bootstrap, and create a "NO_OP" message flush into disk.

Change-Id: I1f3d5a5c3634dc4b0ad7f1456b45a999d05b0652
---
M src/kudu/tablet/tablet_bootstrap.cc
1 file changed, 37 insertions(+), 2 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f3d5a5c3634dc4b0ad7f1456b45a999d05b0652
Gerrit-Change-Number: 17907
Gerrit-PatchSet: 1
Gerrit-Owner: yejiabao <[email protected]>

Reply via email to