Skip to content

[processor/logdeduplication] Review processor shutdown behaviour #34478

Closed
@MikeGoldsmith

Description

@MikeGoldsmith

This is a tracking issue for reviewing the shutdown behaviour in the new logdeduplication processor.

          Is all of this extraneous? Create a local done channel, listen for it to close, but defer closing it?

The only thing somewhat useful this might be doing is returning ctx.Err() in the case where the passed in context is canceled while we're shutting down. I'm not convinced that's useful though and not aware of any other cases where we do that in Shutdown.

Originally posted by @djaglowski in #34465 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions