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

Create IncrementalRepairTask Class #736

Closed
VictorCavichioli opened this issue Oct 13, 2024 · 1 comment
Closed

Create IncrementalRepairTask Class #736

VictorCavichioli opened this issue Oct 13, 2024 · 1 comment
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 IncrementalRepairTask class represents an individual task responsible for repairing a specific range in a Cassandra table. It extends RepairTask and customizes the options to ensure that the repair runs incrementally. This class interacts with the JMX proxy to execute the repair, and logs information about the success or failure of the repair operation for a particular token range.

The current system supports repair tasks but does not include the incremental repair option, which is critical for optimizing the repair process in large datasets. This task involves creating the IncrementalRepairTask class to enable incremental repairs at a finer granularity.

Acceptance Criteria:

  1. The IncrementalRepairTask class should extend RepairTask.
  2. Implement the getOptions() method to return a map with the appropriate repair options (INCREMENTAL_KEY set to true, among others).
  3. Implement logging in the onFinish() and onRangeFinished() methods to handle success and failure cases.
  4. The class should pass all necessary repair configuration details to the JMX proxy.
  5. Unit tests must cover all public methods of the class.

Definition of Done:

  1. IncrementalRepairTask is created with all required attributes and methods.
  2. The class is integrated into the existing repair execution framework.
  3. All unit tests pass.
  4. The code is reviewed and merged into the main branch.

Notes:

@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