Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface committed Apr 4, 2019
1 parent 609c392 commit e6d7947
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/failover.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ func (oa *operatorActions) pdFailover(pod *corev1.Pod, tc *v1alpha1.TidbCluster)
return false
}

// TODO we should confirm the tombstone exists, important!!!!!!
// for example: offline the same pod again and again, and see it in the tombstone stores
// offline two pods, and see them in the tombstone stores
func (oa *operatorActions) tikvFailover(pod *corev1.Pod, tc *v1alpha1.TidbCluster) bool {
failure := false
for _, failureStore := range tc.Status.TiKV.FailureStores {
Expand Down

0 comments on commit e6d7947

Please sign in to comment.