Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET-1603: Manage DNS NM changes #3124

Merged
merged 11 commits into from
Oct 29, 2024
Merged

NET-1603: Manage DNS NM changes #3124

merged 11 commits into from
Oct 29, 2024

Conversation

yabinma
Copy link
Collaborator

@yabinma yabinma commented Sep 13, 2024

Describe your changes

Provide Issue ticket number if applicable/not in title

Provide testing steps

Checklist before requesting a review

  • My changes affect only 10 files or less.
  • I have performed a self-review of my code and tested it.
  • If it is a new feature, I have added thorough tests, my code is <= 1450 lines.
  • If it is a bugfix, my code is <= 200 lines.
  • My functions are <= 80 lines.
  • I have had my code reviewed by a peer.
  • My unit tests pass locally.
  • Netmaker is awesome.

mq/mq.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

remove periodic sync check, instead this can be published when peer update is pushed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Move to peerUpdate in new commit. please review again.

@@ -249,3 +250,48 @@ func sendPeers() {
}
}
}

func sendDNSSync() error {
Copy link
Member

Choose a reason for hiding this comment

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

this func should be simplified to all get all entries from the DB and push it to clients

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed the cache in new commit. Please help review again.

@abhishek9686
Copy link
Member

add relevant PR title

@yabinma yabinma changed the title Net 1603 NET-1603: Manage DNS client changes Oct 10, 2024
@yabinma yabinma changed the title NET-1603: Manage DNS client changes NET-1603: Manage DNS NM changes Oct 10, 2024
@yabinma yabinma changed the base branch from feature_manage_dns to develop October 18, 2024 06:48
@abhishek9686 abhishek9686 merged commit 5c15f3d into develop Oct 29, 2024
15 checks passed
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