Yifan Cai created CASSSIDECAR-181:
-------------------------------------

             Summary: Ensure memory consistency from PeriodicTask executions 
and expose richer ScheduleDecision
                 Key: CASSSIDECAR-181
                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-181
             Project: Sidecar for Apache Cassandra
          Issue Type: Improvement
          Components: Rest API
            Reporter: Yifan Cai
            Assignee: Yifan Cai


PeriodicTaskExecutor already ensures one active run of each periodic task at 
any time. However, the implementation cannot establish the happens-before 
ordering between 2 runs. Therefore, writes may not be visible to the next run. 
The patch changes the scheduling behavior in the executor to address the issue, 
so that the runs are properly ordered, serial as in a single thread. 
The patch also addressed a todo left in the code to expose richer 
ScheduleDecision enum, instead of using boolean for shouldSkip.



--
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