for backends created on a cold VCL, hide counters

they are revealed by vbe_dir_event() on a warm event

Fixes #3358
parent a494a1e2
......@@ -635,6 +635,8 @@ VRT_new_backend_clustered(VRT_CTX, struct vsmw_cluster *vc,
be->vsc = VSC_vbe_New(vc, &be->vsc_seg,
"%s.%s", VCL_Name(ctx->vcl), vrt->vcl_name);
AN(be->vsc);
if (! vcl->temp->is_warm)
VRT_VSC_Hide(be->vsc_seg);
be->tcp_pool = VTP_Ref(vep->ipv4, vep->ipv6,
vep->uds_path, vrt_hash_be(vrt->endpoint));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment