Skip to content

Incorrect implementation of condition variable #1438

@JeffPhoneix

Description

@JeffPhoneix

https://github.com/apache/pulsar-client-go/blob/master/pulsar/internal/channel_cond.go#L60

Why would a condition variable need to return a value by default?

This will cause the CPU usage of the producer process to spike during a failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions