Skip to content

Commit

Permalink
TAP partition change emits bucket name.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Apr 23, 2013
1 parent 90cb6f0 commit f64c5b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vbucket_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ func (c vbucketChange) getVBucket() *VBucket {
}

func (c vbucketChange) String() string {
return fmt.Sprintf("vbucket %v %v -> %v", c.vbid, c.oldState, c.newState)
return fmt.Sprintf("bucket: %s, vbucket: %v, state: %v -> %v",
c.bucket.Name(), c.vbid, c.oldState, c.newState)
}

0 comments on commit f64c5b2

Please sign in to comment.