Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Warn users about external changes in sync tag #1695

Merged
merged 3 commits into from
Feb 1, 2019

Conversation

2opremio
Copy link
Contributor

Multiple users have reported an unexpectedly high number of changes in the git
respository's sync tag.

This has been attributed to multiple fluxd instances, running in separate
clusters, using the same git repository and sync tag.

In addition, multiple fluxd instances using the same tag is a bad idea in
general, since it will lead to commits being missed by fluxd.

This change tracks the value of the sync tag and prints a warning when detecting
an external change.

Multiple users have reported an unexpectedly high number of changes in the git
respository's sync tag.

This has been attributed to multiple fluxd instances, running in separate
clusters, using the same git repository and sync tag.

In addition, multiple fluxd instances using the same tag is a bad idea in
general, since it will lead to commits being missed by fluxd.

This change tracks the value of the sync tag and prints a warning when detecting
an external change.
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

Looks fine 👍 Thanks Fons

daemon/daemon.go Outdated Show resolved Hide resolved
@squaremo
Copy link
Member

Failing CI because doSync is called in some tests, apparently

@2opremio
Copy link
Contributor Author

2opremio commented Jan 31, 2019 via email

@2opremio 2opremio merged commit cb43b07 into fluxcd:master Feb 1, 2019
@2opremio 2opremio deleted the sync-tag-warning branch February 1, 2019 14:05
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.

2 participants