Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.
This repository was archived by the owner on May 14, 2026. It is now read-only.

The count of outstanding RPCs in ChannelPool could go negative. #2081

Description

@blakeli0

The count of outstanding RPCs in ChannelPool could go negative in some cases, and an exception would be throw. In such case, there is no way a customer could recover from such error. See internal issue for details.

We need to prevent the count of outstanding RPCs to go negative and also figure out why this happened.

Activity

added
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
priority: p2Moderately-important priority. Fix may not be included in next release.
on Oct 9, 2023

meltsufin commented on Oct 9, 2023

@meltsufin
Contributor

Do we understand how this could happen and are we able to reproduce the error?
cc: @igorbernstein2

blakeli0 commented on Oct 9, 2023

@blakeli0
ContributorAuthor

Do we understand how this could happen and are we able to reproduce the error? cc: @igorbernstein2

I don't think we understand how this could happen, @igorbernstein2 tried to add the stacktrace so we might be able to figure it out next time it happens. This is not reproducible either by customers, we might be able to reproduce it by digging really deep into the codebase.

meltsufin commented on Oct 9, 2023

@meltsufin
Contributor

In the internal bug I see some ideas. Can we try to reproduce them?

self-assigned this
on Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.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