Skip to content

feat: add support for blue/green deployments - #911

Merged
aaron-congo merged 55 commits into
mainfrom
bg
Jul 25, 2025
Merged

aaron-congo merged 55 commits into
mainfrom
bg

Conversation

@aaron-congo

Copy link
Copy Markdown
Contributor

Description

Adds support for Blue/Green Deployments for the following DB types:

  • Aurora Mysql cluster
  • Aurora Postgres cluster
  • RDS Mysql Multi-AZ Instance
  • RDS Postgres Multi-AZ Instance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

logger.debug(
Messages.get_formatted(
"SuspendConnectRouting.SwitchoverCompleteContinueWithConnect",
(time.time() - start_time_sec) // 1000))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(time.time() - start_time_sec) // 1000))
(time.time() - start_time_sec) * 1000))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we track the time using ms or ns instead of seconds for more detailed time reporting?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

time.time() returns a floating point that includes fractions of a second, for example if I run time.time() on my machine I get 1752773235.3210173, so I believe we will still get ms precision

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