[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrés Beck-Ruiz updated CASSSIDECAR-372:
-----------------------------------------
    Description: Currently, the {{OperationalJobTracker}} uses an [in memory 
map|https://github.com/apache/cassandra-sidecar/blob/0ad3e6fe545abc9254a88bd8de15f24af27d68c7/server/src/main/java/org/apache/cassandra/sidecar/job/OperationalJobTracker.java#L49]
 to store all operational jobs. We should add a common interface, 
{{{}OperationalJobTracker{}}}, which defines a contract for how to submit and 
retrieve operational jobs regardless of storage choice. We should refactor the 
current {{OperationalJobTracker}} into {{{}LocalOperationalJobTracker{}}}, 
which can be used for testing purposes. We should also update the 
{{OperationalJobManager}} to accept any job tracker that implements this new 
interface.  (was: Currently, the OperationalJobTracker uses an [in memory 
map|https://github.com/apache/cassandra-sidecar/blob/0ad3e6fe545abc9254a88bd8de15f24af27d68c7/server/src/main/java/org/apache/cassandra/sidecar/job/OperationalJobTracker.java#L49]
 to store all operational jobs. We should add a common interface, 
OperationalJobTracker, which defines a contract for how to submit and retrieve 
operational jobs regardless of storage choice. We should refactor the current 
OperationalJobTracker into LocalOperationalJobTracker, which can be used for 
testing purposes. We should also update the OperationalJobManager to accept any 
job tracker that implements this new interface.)

> Define common operational job tracking interface and refactor current 
> operational job tracker 
> ----------------------------------------------------------------------------------------------
>
>                 Key: CASSSIDECAR-372
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-372
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Sub-task
>            Reporter: Andrés Beck-Ruiz
>            Priority: Major
>              Labels: CEP-53
>
> Currently, the {{OperationalJobTracker}} uses an [in memory 
> map|https://github.com/apache/cassandra-sidecar/blob/0ad3e6fe545abc9254a88bd8de15f24af27d68c7/server/src/main/java/org/apache/cassandra/sidecar/job/OperationalJobTracker.java#L49]
>  to store all operational jobs. We should add a common interface, 
> {{{}OperationalJobTracker{}}}, which defines a contract for how to submit and 
> retrieve operational jobs regardless of storage choice. We should refactor 
> the current {{OperationalJobTracker}} into 
> {{{}LocalOperationalJobTracker{}}}, which can be used for testing purposes. 
> We should also update the {{OperationalJobManager}} to accept any job tracker 
> that implements this new interface.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to