backube / scribe

Asynchronous data replication for Kubernetes CSI storage

Home Page:https://scribe-replication.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rework "next sync time" logic

JohnStrunk opened this issue · comments

Describe the bug

  • Rework logic for next sync time to:
    • Perform a sync immediately
    • Properly update the schedule (immediately) if trigger.schedule is changed
    • Do better about determining whether we are "waiting for next" or "trying to sync" when reconciling

Also fix the situation where sometimes the Job doesn't get cleaned up at the end of an interval.

Steps to reproduce

Expected behavior

Actual results

Additional context