Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: corrected initContainers indentation and conditionals in Job migration YAML #68

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

electrosenpai
Copy link
Contributor

This PR addresses the issue where the Redis client fails to connect with the following error:

RedisClient::CannotConnectError: Operation already in progress - connect(2) for 10.99.105.81:6379 (RedisClient::CannotConnectError)

The fix involves adjusting the initContainers logic in the Job migration YAML to ensure that the application waits for Redis to be fully ready before attempting a connection. This should prevent the connection errors due to Redis not being available in time.

  • Added initContainers to wait for Redis to be ready.
  • Adjusted timeouts for better reliability during migration tasks.

This should fix the Redis connection issue without introducing breaking changes.

@electrosenpai electrosenpai merged commit 4916f47 into main Sep 24, 2024
1 check passed
@jdenquin jdenquin deleted the fix-migrate-jobs branch September 24, 2024 13:08
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.

2 participants