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(pod-lifecycle): improve replication management #308

Merged
merged 1 commit into from
Mar 20, 2025
Merged

fix(pod-lifecycle): improve replication management #308

merged 1 commit into from
Mar 20, 2025

Conversation

Abhra303
Copy link
Contributor

Replication role for replicas is actually "slave" and not "replica".

@Abhra303 Abhra303 requested a review from Pothulapati March 19, 2025 17:16
@@ -223,7 +223,7 @@ func (dfi *DragonflyInstance) checkReplicaRole(ctx context.Context, pod *corev1.
}
}

if redisRole != resources.Replica {
if redisRole == resources.Master {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a good fix.

@Abhra303 Abhra303 merged commit 3466430 into main Mar 20, 2025
4 checks passed
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