backube / volsync

Asynchronous data replication for Kubernetes volumes
https://volsync.readthedocs.io
GNU Affero General Public License v3.0
587 stars 68 forks source link

nextSyncTime is not being updated when the schedule changes #271

Closed JohnStrunk closed 2 years ago

JohnStrunk commented 2 years ago

Describe the bug nextSyncTime field in the CR isn't being updated if the trigger's schedule is changed. It's only being updated at the end of a sync cycle.

Steps to reproduce

Expected behavior

Actual results

Additional context Discovered based on #268

There is also a related issue where a manual trigger is set, then removed, causing no further syncs.

JohnStrunk commented 2 years ago

/assign

I think I introduced this w/ the state machine re-write: #210

210 isn't in release-0.4, so no need to backport. :sweat_smile: