[master] 8158736c1 Revert "Fix the VCL name of directors"

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Apr 16 19:14:08 UTC 2019


commit 8158736c1632dcdde2523c3e84be97e39b537284
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Apr 16 21:11:15 2019 +0200

    Revert "Fix the VCL name of directors"
    
    This reverts commit e7d5fb68f7bac45e7b96eaab48718516be60f73e.
    
    Apparently this change looks intentional, but it should be revisited as
    it makes troubleshooting significantly harder when logs (for example
    Backend_health records) aren't explicit about the backend they are
    referring to.

diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 2e590b85c..da1b7f8ed 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -575,7 +575,7 @@ VRT_new_backend_clustered(VRT_CTX, struct vsmw_cluster *vc,
 
 	be->director = VRT_AddDirector(ctx,
 	    vbp != NULL ? vbe_methods : vbe_methods_noprobe, be,
-	    "%s.%s", VCL_Name(ctx->vcl), vrt->vcl_name);
+	    "%s", vrt->vcl_name);
 
 	if (be->director != NULL) {
 		/* for cold VCL, update initial director state */


More information about the varnish-commit mailing list