Skip to content

Conversation

@fatihergin
Copy link

@fatihergin fatihergin commented Nov 9, 2025

Addresses #21.

Please review the Docker setup (tests) with extra care, as I'm new to Docker.

Changes

  • Add Redis Cluster support via:
    • LockManager::new_cluster(uris: Vec<Vec<T>>)
    • LockManager::from_cluster_clients(clients: Vec<ClusterClient>)
  • Add cluster integration tests (single_cluster, multi_cluster)
  • Add Docker Compose test environment with 3 Redis clusters
  • Update README with cluster usage and locking behavior

Testing

Test single-cluster (simple lock) and multi-cluster (Redlock) behavior:

# Executes both single and multi-cluster examples
docker compose -f examples/docker-compose-cluster.yml up --build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant