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

Implement RepairGroup Class for Managing and Executing Repair Tasks #738

Closed
VictorCavichioli opened this issue Oct 13, 2024 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request PoC/Agent Tasks related to new generation of ecchronos as an agent

Comments

@VictorCavichioli
Copy link
Contributor

Story Description:

The RepairGroup class is responsible for managing repair tasks in Cassandra clusters, particularly scheduling and executing repairs for specific tables. The goal is to define and implement this class ensuring that it integrates correctly with the components like RepairConfiguration, ReplicaRepairGroup, DistributedJmxProxyFactory, and others.

The current implementation requires managing repair policies, metrics, and tasks within a distributed environment. The new class should support the configuration and execution of repair tasks, ensuring they follow the policies and successfully complete unless stopped by specific conditions.

Acceptance Criteria:

The execute() method should attempt to run all the repair tasks in the group, considering repair policies, and return a boolean indicating success or failure.

Definition of Done:

  1. All required methods are implemented in the RepairGroup class.
  2. Unit tests are written to validate the functionality of execute(), shouldContinue(), and getRepairTasks().
  3. Integration tests ensure the RepairGroup interacts correctly with distributed systems, using DistributedJmxProxyFactory and ReplicaRepairGroup.
  4. Logging and error handling are in place, with logs indicating when repairs fail or are stopped by policies.

Notes:

The UUID nodeID is passed to ensure tasks are associated with the correct node in a distributed environment.

Related with #652
Depends of #737

@VictorCavichioli VictorCavichioli added enhancement New feature or request PoC/Agent Tasks related to new generation of ecchronos as an agent labels Oct 13, 2024
@VictorCavichioli VictorCavichioli self-assigned this Oct 13, 2024
@VictorCavichioli
Copy link
Contributor Author

PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PoC/Agent Tasks related to new generation of ecchronos as an agent
Projects
None yet
Development

No branches or pull requests

1 participant