Skip to content

feat(core): suspend persistent

David Flor requested to merge xflord/STR-1504/sync_propag_pause into main

Description

feat(core): suspend persistent

  • edit suspend methods to persist through restart
  • this means new configurations property in the database
  • added the methods through layers to openapi
  • tasks related methods now have additional parameter which is optional in the RPC, should be backwards compatible

BREAKING CHANGE: db update

How to test

Testing the group synchronization part is quite easy, since there's constantly some group synchronizations going on on devel, so just suspend it and observe logs.

Testing the propagations requires them to be running in the first place, good guide for this is here, then suspend them and observe the logs (tasks should remain waiting + a message about suspension is logged as well iirc)

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

N/A

Related issues

re STR-1504

Edited by David Flor

Merge request reports