Skip to content

Commit

Permalink
Log the reason a remote write request might be dropped to the error m…
Browse files Browse the repository at this point in the history
…essage
  • Loading branch information
jwilder committed Sep 4, 2015
1 parent 6f41c0f commit 99d02e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (s *Service) processWriteShardRequest(buf []byte) error {
// If we can't find it, then we need to drop this request
// as it is no longer valid. This could happen if writes were queued via
// hinted handoff and delivered after a shard group was deleted.
s.Logger.Printf("drop write request: shard=%d", req.ShardID())
s.Logger.Printf("drop write request: shard=%d. shard group does not exist or was deleted", req.ShardID())
return nil
}

Expand Down

0 comments on commit 99d02e3

Please sign in to comment.