Skip to content

P2: ElastiCache miniredis instance leak and missing failover features #683

Closed

Description

@agbishop

Summary

Resource Leaks

  • Miniredis instance not closed on all error paths: If CreateClusterWithOptions fails after miniredis started (e.g., parameter group check), Redis instance leaks ports and memory.

Bugs

  • Resource cleanup race in CreateClusterWithOptions: Nested lock acquired after initial operation.
  • Potential nil pointer in ListTagsForResource: Multiple clone() calls on potentially nil Tags.

Missing Features

  • No automatic failover / primary-replica promotion
  • No multi-AZ support
  • No cluster scaling (horizontal or vertical)
  • No online resharding
  • No event notifications
  • No parameter group validation against family
  • No engine version upgrades
  • No maintenance window support

Files

  • services/elasticache/backend.go

Activity

  1. agbishop commented on Mar 16, 2026

    @agbishop
    CollaboratorAuthor

    copilot-autodev: agent task created for issue #683 (initial invoke).

  2. agbishop commented on Mar 16, 2026

    @agbishop
    CollaboratorAuthor

    copilot-autodev: Tracking PR #813 for this issue.

  3. added a commit that references this issue on Mar 16, 2026
  4. added a commit that references this issue on Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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