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

Skip non dc cluster projection #712

Conversation

fabriziosestito
Copy link
Member

@fabriziosestito fabriziosestito commented Jan 17, 2022

This PR adds the DC (designated controller) to the cluster discovery struct and payload from the agent, so we can skip whatever discovery eventwas not sent from the elected designated controller in the cluster projector.
This is needed to have a single source of truth.

We still accept non-DC events in the other projectors (e.g. the host projector uses this to populate the cluster field in the host model).

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

Nice!

web/datapipeline/clusters_projector.go Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants