Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

chore: change the numConsistent to 2#488

Open
c4po wants to merge 1 commit into
hashicorp:mainfrom
c4po:main
Open

chore: change the numConsistent to 2#488
c4po wants to merge 1 commit into
hashicorp:mainfrom
c4po:main

Conversation

@c4po

@c4po c4po commented Oct 7, 2024

Copy link
Copy Markdown

Change numConsistent from 4 to 2 in eventual consistency check

Description

This PR modifies the numConsistent constant in the eventual consistency check mechanism, reducing it from 4 to 2. This change aims to optimize the consistency check process by requiring fewer consistent reads before considering a resource state as consistent.

Changes

  • Updated numConsistent constant in internal/provider/eventual_consistency.go from 4 to 2
  • Modified test cases in internal/provider/eventual_consistency_test.go to align with the new numConsistent value

Motivation and Context

@c4po
c4po requested a review from a team as a code owner October 7, 2024 13:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant