Skip to content

Add port, remote backup & CIDRs support #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 18, 2023
Merged

Add port, remote backup & CIDRs support #371

merged 4 commits into from
May 18, 2023

Conversation

wjam
Copy link
Collaborator

@wjam wjam commented May 16, 2023

Add support for:

  • Specifying the port number on a normal or active/active database
  • Configuring backups for normal or active/active databases
  • Specifying multiple CIDR ranges when peering a normal or active/active database

Add support for:
* Specifying the port number on a normal or active/active database
* Configuring backups for normal or active/active databases
* Specifying multiple CIDR ranges when peering a normal or active/active
database
@wjam wjam force-pushed the port-backup-cidr branch from 164e82c to 0396b5c Compare May 16, 2023 15:34
wjam added 3 commits May 18, 2023 07:56
Go will only stream test logs if it is testing a single module at a
time, otherwise it will buffer the logs to the end and then display
them. This causes issues for CI as it means there's no idea what is
happening at the moment and the logs will be missing if the run is
cancelled.

See golang/go#27826.
CI is taking far too long and needs to be sped up.
@wjam
Copy link
Collaborator Author

wjam commented May 18, 2023

Those changes to the tests reduced the CI time from 4 hours (or 6 hours on a previous run) to 2.5 hours. While we could get a greater speed improvement by setting parallel back to 3, this could potentially overload the system when the active/active databases get spun up (for example, 3 parallel tests creating active/active subscription which each have 3 databases with 3 people tests at the same time is 27 databases starting up at the same time).

These changes also enable streaming of the logs from the tests, so it is easy to see what the tests are currently doing.

@wjam wjam marked this pull request as ready for review May 18, 2023 11:33
@wjam wjam merged commit ea5cfea into main May 18, 2023
@wjam wjam deleted the port-backup-cidr branch May 18, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants