From 89cf0672397a233f9a637a0a3032d7f2adf7b93a Mon Sep 17 00:00:00 2001 From: nolouch Date: Wed, 10 Jul 2019 13:52:39 +0800 Subject: [PATCH] fix Signed-off-by: nolouch --- server/cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/cluster.go b/server/cluster.go index 6520212ec181..8c89a5a2bb2a 100644 --- a/server/cluster.go +++ b/server/cluster.go @@ -420,6 +420,7 @@ func (c *RaftCluster) BuryStore(storeID uint64, force bool) error { // revive:di log.Warn("forcedly bury store", zap.Stringer("store", store.Store)) } + store.State = metapb.StoreState_Tombstone log.Warn("store has been Tombstone", zap.Uint64("store-id", store.GetId()), zap.String("store-address", store.GetAddress()))