From 70977c36c3b85a71cd5cf98b43e94f458c0eaed7 Mon Sep 17 00:00:00 2001 From: Nils Goroll Date: Wed, 5 Dec 2018 12:25:26 +0100 Subject: [PATCH] update the generated graphviz svg --- doc/graphviz/cache_req_fsm.svg | 621 +++++++++++++++++---------------- 1 file changed, 317 insertions(+), 304 deletions(-) diff --git a/doc/graphviz/cache_req_fsm.svg b/doc/graphviz/cache_req_fsm.svg index 60c71acd1e..eeb0a75c85 100644 --- a/doc/graphviz/cache_req_fsm.svg +++ b/doc/graphviz/cache_req_fsm.svg @@ -4,496 +4,509 @@ - - + + cache_req_fsm - + cluster_backend - + acceptor - -Request received + +Request received recv - -cnt_recv: - -vcl_recv{} - -req.* - -fail - -hash - -purge - -pass - -pipe - -restart - -synth - -vcl + +cnt_recv: + +vcl_recv{} + +req.* + +fail + +hash + +purge + +pass + +pipe + +restart + +synth + +vcl acceptor->recv - - + + label_select - -LABEL + +LABEL label_select->recv - - + + ESI_REQ - -ESI request + +ESI request ESI_REQ->recv - - + + RESTART -RESTART +RESTART restart - -cnt_restart: - -fail - -ok? - -max_restarts? + +cnt_restart: + +fail + +ok? + +max_restarts? -RESTART->restart - - +RESTART->restart + + hash - -cnt_recv: - -vcl_hash{} - -req.* - -lookup + +cnt_recv: + +vcl_hash{} + +req.* + +lookup -recv:hash->hash - - +recv:hash->hash + + -recv:pipe->hash - - +recv:pipe->hash + + -recv:pass->hash - - +recv:pass->hash + + -recv:purge:s->hash - - +recv:purge:s->hash + + vcl_label -switch to vcl -LABEL +switch to vcl +LABEL -recv:vcl:s->vcl_label - - +recv:vcl:s->vcl_label + + SYNTH -SYNTH +SYNTH synth - -cnt_synth: - -vcl_synth{} - -req.* - -resp.* - -fail - -deliver - -restart + +cnt_synth: + +vcl_synth{} + +req.* + +resp.* + +fail + +deliver + +restart SYNTH->synth - - + + FAIL -FAIL +FAIL FAIL->synth - - + + deliver - -cnt_deliver: - -Filter obj.->resp. - -vcl_deliver{} - -req.* - -resp.* - -fail - -restart - -deliver - -synth + +cnt_deliver: + +Filter obj.->resp. + +vcl_deliver{} + +req.* + +resp.* + +fail + +restart + +deliver + +synth V1D_Deliver - -V1D_Deliver + +V1D_Deliver deliver:deliver:s->V1D_Deliver - - + + deliver:deliver:s->V1D_Deliver - - + + deliver:deliver:s->V1D_Deliver - - + + DONE - -DONE + +DONE V1D_Deliver->DONE - - + + stream - -stream? -body + +stream? +body stream->V1D_Deliver - - + + synth:del:s->V1D_Deliver - - + + see backend graph -see backend graph +see backend graph BGFETCH - -BGFETCH + +BGFETCH FETCH - -FETCH + +FETCH FETCH_DONE - -FETCH_DONE + +FETCH_DONE FETCH->FETCH_DONE - - + + FETCH_FAIL - -FETCH_FAIL + +FETCH_FAIL FETCH->FETCH_FAIL - - + + FETCH_DONE->deliver - - + + FETCH_DONE->deliver - - + + FETCH_FAIL->synth - - + + lookup2 - -cnt_lookup: - -vcl_hit{} - -req.* - -obj.* - -fail - -deliver - -miss - -restart - -synth - -pass + +cnt_lookup: + +vcl_hit{} + +req.* + +obj.* + +fail + +deliver + +pass + +restart + +synth + +miss -lookup2:deliver:s->deliver:n - - +lookup2:deliver:s->deliver:n + + lookup2:deliver:s->BGFETCH - - -parallel -if obj expired + + +parallel +if obj expired miss - -cnt_miss: - -vcl_miss{} - -req.* - -fail - -fetch - -synth - -restart - -pass + +cnt_miss: + +vcl_miss{} + +req.* + +fail + +fetch + +synth + +restart + +pass -lookup2:miss:s->miss - - +lookup2:miss:s->miss + + + #1799 + EOL pass - -cnt_pass: - -vcl_pass{} - -req.* - -fail - -fetch - -synth - -restart + +cnt_pass: + +vcl_pass{} + +req.* + +fail + +fetch + +synth + +restart -lookup2:pass:s->pass - - +lookup2:pass:s->pass + + lookup - -cnt_lookup: - -hash lookup - -hit? - -miss? - -hit-for-pass? - -busy? + +cnt_lookup: + +hash lookup + +hit? + +miss? + +hit-for-miss? + +hit-for-pass? + +busy? -lookup:h:s->lookup2 - - +lookup:h:s->lookup2 + + -lookup:busy:e->lookup:top:e - - -(waitinglist) +lookup:busy:s->lookup:top:ne + + + waitinglist lookup:miss:s->miss - - + + + + +lookup:hfm:s->miss + + + req. + is_hitmiss -lookup:hfp:s->pass - - +lookup:hfp:s->pass + + + req. + is_hitpass -miss:fetch:s->FETCH - - +miss:fetch:s->FETCH + + -miss:pass:s->pass - - +miss:pass:s->pass + + -pass:fetch:s->FETCH - - +pass:fetch:s->FETCH + + pipe - -cnt_pipe: - -filter req.*->bereq.* - -vcl_pipe{} - -req.* - -bereq.* - -fail - -pipe - -synth + +cnt_pipe: + +filter req.*->bereq.* + +vcl_pipe{} + +req.* + +bereq.* + +fail + +pipe + +synth pipe_do - -send bereq, -copy bytes until close + +send bereq, +copy bytes until close -pipe:pipe->pipe_do - - +pipe:pipe->pipe_do + + -pipe_do->DONE - - +pipe_do->DONE + + -restart:ok:s->recv - - +restart:ok:s->recv + + err_restart -SYNTH +SYNTH -restart:max:s->err_restart - - +restart:max:s->err_restart + + -hash:lookup:w->lookup - - +hash:lookup:w->lookup + + -hash:lookup:s->pass - - +hash:lookup:s->pass + + -hash:lookup:e->pipe - - +hash:lookup:e->pipe + + purge - -cnt_purge: - -vcl_purge{} - -req.* - -fail - -synth - -restart + +cnt_purge: + +vcl_purge{} + +req.* + +fail + +synth + +restart -hash:lookup:s->purge:top:n - - +hash:lookup:s->purge:top:n + +