Skip to content

putMessage blocks when sending lots of large messages #2167

@noonio

Description

@noonio

Context & versions

@jmagan found a bug that seems to show putMessage being blocked.

Signs point to it perhaps being a problem with the underlying "grapesy" library; as using etcdctl to send the messages (as the implementation for putMessage) works fine.

Steps to reproduce

See this test: https://github.com/cardano-scaling/hydra/pull/2166/files#diff-27aeed786584bbd0b1e142b5d933f35863f306563f0fadbdf789364d86a91f1cR76

This was noticed in real-usage with larger messages being sent frequently.

Actual behavior

After about 5k-10k messages, putMessage will block indefinitiely.

Expected behavior

It shouldn't block!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Todo 📋

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions