Skip to content

Conversation

@crystall-bitquill
Copy link
Contributor

Summary

Remove the isMultiWriterCluster flag from the AuroraTopologyService and add checks for stale topology records.

Description

Multi writer clusters are not longer supported, so the isMultiWriterCluster flag that was used to disable failover has been removed. Additionally, checks have been added to ensure stale writer records that are obtained post writer-failover are not being used.

Additional Reviewers

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

@crystall-bitquill crystall-bitquill force-pushed the remove-isMultiWriterCluster branch from e665038 to 07edfe2 Compare May 10, 2023 16:23
protected Set<String> allAliases = ConcurrentHashMap.newKeySet();
protected long weight; // Greater or equal 0. Lesser the weight, the healthier node.
protected String hostId;
protected String lastUpdateTime;
Copy link
Contributor

@sergiyvamz sergiyvamz May 10, 2023

Choose a reason for hiding this comment

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

Can we use date/timestamp object instead of String?

@crystall-bitquill crystall-bitquill force-pushed the remove-isMultiWriterCluster branch from cde2c57 to ae5d987 Compare May 10, 2023 21:39
@sergiyvamz sergiyvamz merged commit 8804836 into aws:main May 11, 2023
@crystall-bitquill crystall-bitquill deleted the remove-isMultiWriterCluster branch May 11, 2023 22:36
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