Skip to content

CASSSIDECAR-376: Update OperationalJob to support cluster-wide operations#327

Open
brandondho wants to merge 1 commit intoapache:trunkfrom
brandondho:CASSSIDECAR-376
Open

CASSSIDECAR-376: Update OperationalJob to support cluster-wide operations#327
brandondho wants to merge 1 commit intoapache:trunkfrom
brandondho:CASSSIDECAR-376

Conversation

@brandondho
Copy link
Copy Markdown

@brandondho brandondho commented Mar 13, 2026

CASSSIDECAR-376

Updates the OperationalJob abstract class and related components to support cluster-wide node tracking for CEP-53. Single-node jobs now automatically track their execution lifecycle through node lists (nodesPending, nodesExecuting, nodesSucceeded, nodesFailed), while future cluster-wide jobs will manage these lists directly via protected setters.

Changes

  • OperationalJob gains a nodeId field and two-arg constructor. When nodeId is provided, node tracking lists are automatically managed through the job lifecycle in execute(). The single-arg constructor initializes empty lists for cluster-wide jobs to manage via protected setters.
  • OperationalJob gains startTime and lastUpdate fields, automatically set during execute()
  • OperationalJobResponse gains new fields (startTime, nodesPending, nodesExecuting, nodesSucceeded, nodesFailed, lastUpdate)
  • CassandraAdapterDelegate gains hostId() method using JMX getLocalHostId() to fetch the Cassandra host UUID

Future Work

This enables upcoming work on CEP-53:

@brandondho
Copy link
Copy Markdown
Author

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