Skip to content

Commit

Permalink
Log when removing a tablet. (dgraph-io#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmai authored and dna2github committed Jul 19, 2019
1 parent ff6efea commit 8643ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ func (g *groupi) cleanupTablets() {
return
}
g.delPred <- struct{}{}
glog.Warningf("Deleting predicate: %v. Tablet: %+v", pk.Attr, tablet)
// Predicate moves are disabled during deletion, deletePredicate purges everything.
posting.DeletePredicate(context.Background(), pk.Attr)
<-g.delPred
Expand Down

0 comments on commit 8643ace

Please sign in to comment.