Skip to content

Pipe commands getting stuck intermittently during scale up and scale down of elasticache clusters #59

@srikar-jilugu

Description

@srikar-jilugu

We’re using valkey-go v1.0.57 to connect to an ElastiCache cluster with around 6 shards and 4 replicas, with replica auto-scaling enabled. During scale-up or scale-down events, we intermittently observe that pipe.Exec(...) calls hang indefinitely, despite having both connection timeouts and context deadlines set to 2 seconds.

We have faced this issue with pipelined HGetAll and Get commands.

Relevant client configurations:

SendToReplicas: true
Connection timeout: 2s
Ctx Deadline for each command: 2s

We’re trying to understand why this indefinite hang happens during resharding or topology changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions