-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
CE-657 - Move Application leader election tutorial to docs #21366
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style guide nits
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
The primitives provided by sessions and the locking mechanisms of the KV | ||
store can be used to build client-side leader election algorithms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The primitives provided by sessions and the locking mechanisms of the KV | |
store can be used to build client-side leader election algorithms. | |
You can use the primitives provided by sessions and the locking mechanisms of the KV | |
store to build client-side leader election algorithms. |
Co-authored-by: Aimee Ukasick <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! This doc is looking good.
I left an initial round of suggestions. After you implement them, ask Aimee to give her review.
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
<Note> | ||
|
||
This locking system is purely advisory. There is no enforcement that clients must acquire a lock to perform any operation. Any client can read, write, and delete a key without owning the corresponding lock. It is not the goal of Consul to protect against misbehaving clients. | ||
|
||
</Note> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Odd placement for this note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that, after learning how to perform the lock it was useful to get a remark that the process is different from an actual lock that would prevent other operations to be performed. Do you have suggestions over which position would fit better?
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeff Boruszak <[email protected]>
Co-authored-by: Jeff Boruszak <[email protected]>
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final suggestions and style issues that I noticed.
Looks excellent. Merge when ready!
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
website/content/docs/dynamic-app-config/sessions/application-leader-election.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeff Boruszak <[email protected]>
* First commit * Fix navigation * Add some commands * Structure draft * Complete usage doc structure * Fix link * Apply suggestions from code review Co-authored-by: Aimee Ukasick <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review * Replace tutorial path * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> --------- Co-authored-by: Aimee Ukasick <[email protected]> Co-authored-by: Jeff Boruszak <[email protected]> Co-authored-by: boruszak <[email protected]>
…21673) * CE-655 - Moving DNS forwading tutorial to docs (#21348) * First commit * Add page to navigation * test new doc page * Update website/content/docs/services/discovery/dns-forwarding.mdx * Update website/content/docs/services/discovery/dns-forwarding.mdx * fix push build atttempt * Draft * Draft * empty line * Draft * empty lines * Draft * First draft * Create documentation for Argo Rollouts Plugin. (#20680) * Create documentation for Argo Rollouts Plugin. * Create documentation for Argo Rollouts Plugin. * Apply suggestions from code review Co-authored-by: David Yu <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Update docs based on feedback * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Update website/content/docs/k8s/deployment-configurations/argo-rollouts-configuration.mdx * Update website/content/docs/k8s/deployment-configurations/argo-rollouts-configuration.mdx --------- Co-authored-by: David Yu <[email protected]> Co-authored-by: Jeff Boruszak <[email protected]> Co-authored-by: Michael Wilkerson <[email protected]> * Split content and add images * Fix navigation * Add links and context * Restructure changes * Fix enable documentation * Fix enable documentation * Fix index documentation * Add troubleshooting and fix codeblocks * Add troubleshooting and fix codeblocks * Typos and last checks * Apply suggestions from code review Co-authored-by: Aimee Ukasick <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Update website/content/docs/services/discovery/dns-forwarding/enable.mdx * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Add dark mode images * Add dark mode images * Apply suggestions from code review --------- Co-authored-by: boruszak <[email protected]> Co-authored-by: Ashwin Venkatesh <[email protected]> Co-authored-by: David Yu <[email protected]> Co-authored-by: Jeff Boruszak <[email protected]> Co-authored-by: Michael Wilkerson <[email protected]> Co-authored-by: Aimee Ukasick <[email protected]> * CE-657 - Move Application leader election tutorial to docs (#21366) * First commit * Fix navigation * Add some commands * Structure draft * Complete usage doc structure * Fix link * Apply suggestions from code review Co-authored-by: Aimee Ukasick <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review * Replace tutorial path * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> --------- Co-authored-by: Aimee Ukasick <[email protected]> Co-authored-by: Jeff Boruszak <[email protected]> Co-authored-by: boruszak <[email protected]> --------- Co-authored-by: danielehc <[email protected]> Co-authored-by: Ashwin Venkatesh <[email protected]> Co-authored-by: David Yu <[email protected]> Co-authored-by: Michael Wilkerson <[email protected]> Co-authored-by: Aimee Ukasick <[email protected]>
* First commit * Fix navigation * Add some commands * Structure draft * Complete usage doc structure * Fix link * Apply suggestions from code review Co-authored-by: Aimee Ukasick <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> * Apply suggestions from code review * Replace tutorial path * Apply suggestions from code review Co-authored-by: Jeff Boruszak <[email protected]> --------- Co-authored-by: Aimee Ukasick <[email protected]> Co-authored-by: Jeff Boruszak <[email protected]> Co-authored-by: boruszak <[email protected]>
Description
Preview: https://consul-git-ce-657-hashicorp.vercel.app/consul/docs/dynamic-app-config/sessions
Testing & Reproduction steps
Links
PR Checklist