Skip to content

Commit 6bc25b9

Browse files
WIP spec updated
1 parent 289fe15 commit 6bc25b9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/network-spec/connection-manager.tex

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2057,6 +2057,8 @@ \section{Inbound Protocol Governor}
20572057
\draw[->] (RemoteIdle) to [out=55,in=305] (InitialState);
20582058
\draw[->] (RemoteIdle) to [out=70,in=290] node[fill=white,left=-40pt,pos=0.3]
20592059
{\CommitRemote} (RemoteCold);
2060+
\draw[->] (RemoteIdle) to [out=60,in=270] node[fill=white,right=-25pt,pos=0.4]
2061+
{\PromotedToHotRemote} (RemoteHot.10);
20602062

20612063
\draw[->] (RemoteCold.340) to [out=300,in=60] (RemoteWarm.30);
20622064
\draw[->] (RemoteIdle.320) to [out=330,in=60] node[fill=white,left=-45pt]
@@ -2100,15 +2102,12 @@ \subsubsection{\RemoteIdle}
21002102
connection is used (\warm{} or \hot{}) or not (\cold{}) by the outbound side.
21012103

21022104
\subsubsection{\RemoteWarm}
2103-
A connection enters \RemoteWarm{} state once any of the mini-protocols starts
2104-
to operate. Once all hot mini-protocols start, the state will transition to
2105-
\RemoteHot{}. Note that this is slightly different than the notion of a \warm{}
2106-
peer, for which all \established{} and \warm{} mini-protocols are active, but
2107-
\hot{} ones are idle.
2105+
A connection enters \RemoteWarm{} state once any of the warm mini-protocols start
2106+
to operate, but all hot ones remain idle.
21082107

21092108
\subsubsection{\RemoteHot}
2110-
A connection enters \RemoteHot{} transition once all hot protocols started, if
2111-
any of them terminates the connection will be put in \RemoteWarm{}.
2109+
A connection enters \RemoteHot{} transition once any hot protocols have started.
2110+
Once all of them have terminated, the connection will be put in \RemoteWarm{}.
21122111

21132112
\subsection{Transitions}
21142113

@@ -2173,4 +2172,3 @@ \subsubsection{\DemotedToWarmRemote}
21732172
Dually to \PromotedToHotRemote{} state transition, as soon as any of the \hot{}
21742173
mini-protocols terminates, the connection will transition to \RemoteWarm{}
21752174
state.
2176-

0 commit comments

Comments
 (0)