andresbeckruiz opened a new pull request, #325: URL: https://github.com/apache/cassandra-sidecar/pull/325
## Summary Refactors `OperationalJobTracker` from a concrete class into an interface, enabling pluggable storage backends for operational job tracking. The existing in-memory implementation is preserved as `InMemoryOperationalJobTracker`. This is foundational work for [CEP-53](https://cwiki.apache.org/confluence/display/CASSANDRASC/CEP-53%3A+Cassandra+Rolling+Restart+via+Sidecar), which will require durable job state that survives Sidecar restarts. ## Changes - **`OperationalJobTracker`** is now an interface defining existing methods: `computeIfAbsent()`, `get()`, `jobsView()`, and `inflightJobsByOperation()` - **`InMemoryOperationalJobTracker`** is the concrete implementation, preserving all existing behavior - **`InMemoryOperationalJobTrackerTest`** includes the original job tracker tests plus new tests for `inflightJobsByOperation()`, which previously had no test coverage. ## Future Work This enables upcoming work on CEP-53: - `StorageProvider` interface with Cassandra implementation ([CASSSIDECAR-373](https://issues.apache.org/jira/browse/CASSSIDECAR-373)) - `DurableOperationalJobTracker` for persistent job state across Sidecar restarts ([CASSSIDECAR-374](https://issues.apache.org/jira/browse/CASSSIDECAR-374)) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

