Skip to content

pubsub: streaming connection logs too aggressively #2614

@pongad

Description

@pongad

First reported here.

The connection logs a warning even though the subscriber is shutting down. When shutting down, this error is normal. The subscriber waits to process all messages, but by the time this happens, another message might have already arrived. Trying to ack this message could error: it races with us trying to shutdown streaming channel.

This is sub-optimal but "OK". The message will be redelivered to another machine. The fix for this is to not log such errors when the the subscriber is shutting down.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions