Skip to content

Commit

Permalink
server: clean up tombstone status (#428)
Browse files Browse the repository at this point in the history
* server: clean up tombstone status

Close #401
  • Loading branch information
overvenus authored and huachaohuang committed Dec 12, 2016
1 parent 3d5bb2b commit 2202e99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ func (c *RaftCluster) BuryStore(storeID uint64, force bool) error {
}

store.State = metapb.StoreState_Tombstone
store.stats = new(StoreStatus)
return cluster.putStore(store)
}

Expand Down

0 comments on commit 2202e99

Please sign in to comment.