open-consul/website
James Phillips d1ad538345 Makes RPC handling more robust when rolling servers. (#3561)
* Adds client-side retry for no leader errors.

This paves over the case where the client was connected to the leader
when it loses leadership.

* Adds a configurable server RPC drain time and a fail-fast path for RPCs.

When a server leaves it gets removed from the Raft configuration, so it will
never know who the new leader server ends up being. Without this we'd be
doomed to wait out the RPC hold timeout and then fail. This makes things fail
a little quicker while a sever is draining, and since we added a client retry
AND since the server doing this has already shut down and left the Serf LAN,
clients should retry against some other server.

* Makes the RPC hold timeout configurable.

* Reorders struct members.

* Sets the RPC hold timeout default for test servers.

* Bumps the leave drain time up to 5 seconds.

* Robustifies retries with a simpler client-side RPC hold.

* Reverts untended delete.
2017-10-10 15:19:50 -07:00
..
scripts Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
source Makes RPC handling more robust when rolling servers. (#3561) 2017-10-10 15:19:50 -07:00
Gemfile Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
Gemfile.lock Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
LICENSE.md Update license 2017-03-08 11:40:06 -08:00
Makefile Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
README.md Update middleman-hashicorp 2017-03-08 11:26:11 -08:00
config.rb Bumps website version to 0.9.3. 2017-09-08 10:22:11 -07:00
packer.json Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
redirects.txt Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00

README.md

Consul Website

This subdirectory contains the entire source for the Consul Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

Running the site locally is simple. Clone this repo and run make website.

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).