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

Three data hall fault domain storage check bug fix #1869

Conversation

simenl
Copy link
Collaborator

@simenl simenl commented Nov 2, 2023

Description

The operator should be allowed to remove processes when a cluster running with three_data_hall redundancy is healthy and have minimum three replicas of storage data (not four).
Fixes #1861

Type of change

Please select one of the options below.

  • Bug fix (non-breaking change which fixes an issue)

Discussion

Testing

  • Unit tests which checks if removals happen based on MinReplicasRemaining in the team tracker status.
  • Manually verified removal of processes in a running three_data_hall cluster.

Documentation

Follow-up

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: a3d8ad5
  • Duration 2:51:34
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@johscheuer johscheuer self-requested a review November 6, 2023 07:29
Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

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

The changes look fine, could you please fix the issues with the code by running make fmt lint test? There are some compiler issues.

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 04265f4
  • Duration 2:47:23
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@johscheuer johscheuer merged commit fbb4c9f into FoundationDB:main Nov 6, 2023
8 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.

three_data_hall - fault domain check for storage requires 4 replicas
3 participants