Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/root/intro/arch_overview/operations/hot_restart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ Envoy can fully reload itself (both code and configuration) without dropping exi
during the :ref:`drain process <arch_overview_draining>`. The hot restart functionality has the
following general architecture:

* Statistics and some locks are kept in a shared memory region. This means that gauges will be
consistent across both processes as restart is taking place.
* The two active processes communicate with each other over unix domain sockets using a basic RPC
protocol.
protocol. All counters are from the old process to the new process over the unix domain, while part

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"All counters are sent from the"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

s/"while part of gauges are transported"/"and gauges are transported except those marked with NeverImport"/

of gauges are transported. After hot restart finished, the gauges transported from the old process

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"After hot restart is finished"

will be cleanup, but special gauge like :ref:`server.hot_restart_generation statistic
<server_statistics>` is retained.
* The new process fully initializes itself (loads the configuration, does an initial service
discovery and health checking phase, etc.) before it asks for copies of the listen sockets from
the old process. The new process starts listening and then tells the old process to start
Expand Down