Closed rzetelskik closed 2 weeks ago
@rzetelskik: GitHub didn't allow me to request PR reviews from the following users: rzetelskik.
Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rzetelskik, zimnx
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Description of your changes: Manager integration e2es have been flaking on manager's ClusterID missing on manual schema restore task registration. This is due to a change introduced in #2156 which was causing the field in status to be intermittently set to an empty string. This, together with not bulletproof enough assertions in our e2es, caused the tests to try and register the tasks too early, before the cluster was even registered with manager. This PR fixes it by setting the status manager ID field to nil instead of an empty string, fixing the e2e assertions and adding dedicated sanity checks before scheduling the restore tasks.
Which issue is resolved by this Pull Request: Resolves #2161
/kind flake /priority important-soon /cc