[
https://issues.apache.org/jira/browse/CASSSIDECAR-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuriy Semchyshyn updated CASSSIDECAR-217:
-----------------------------------------
Description:
{{SchemaReportingTask}} is an implementation of a {{PeriodicTask}} used to
convert and report the current cluster's schema in a DataHub-compatible format.
Currently, the task only attempts to convert and report schema only once, then
logs an error and gives up upon any failure.
{{SchemaReportingTask}} shall be capable to retry failed runs a configured
number of times using a configured delay.
was:
Currently, the {{PeriodicTask}} interface contains method called
{{scheduleDecision()}}. That method is called immediately before each execution
of a task. The returned value of the {{ScheduleDecision}} enum can cause the
execution to be skipped.
Similarly, a new method called {{retryDecision(...)}} shall be introduced into
the {{PeriodicTask}} interface. This new method shall be called immediately
after a task execution failure. The returned value of the {{RetryDecision}}
enum can cause the execution to be retried.
> Implement Task-Level Retries for Schema Reporting
> -------------------------------------------------
>
> Key: CASSSIDECAR-217
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-217
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Components: Rest API
> Reporter: Yuriy Semchyshyn
> Assignee: Yuriy Semchyshyn
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {{SchemaReportingTask}} is an implementation of a {{PeriodicTask}} used to
> convert and report the current cluster's schema in a DataHub-compatible
> format.
> Currently, the task only attempts to convert and report schema only once,
> then logs an error and gives up upon any failure.
> {{SchemaReportingTask}} shall be capable to retry failed runs a configured
> number of times using a configured delay.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]