Skip to content

Commit

Permalink
separate tikv and tiflash tombstone stores (pingcap#2472) (pingcap#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored May 25, 2020
1 parent 045c950 commit 2ed4e85
Show file tree
Hide file tree
Showing 4 changed files with 1,565 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkg/manager/member/tiflash_member_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,9 @@ func (tfmm *tiflashMemberManager) syncTidbClusterStatus(tc *v1alpha1.TidbCluster
return err
}
for _, store := range tombstoneStoresInfo.Stores {
if store.Store != nil && !pattern.Match([]byte(store.Store.Address)) {
continue
}
status := tfmm.getTiFlashStore(store)
if status == nil {
continue
Expand Down
Loading

0 comments on commit 2ed4e85

Please sign in to comment.