Skip to content
Browse files

Adjust the segment length for the cluster allocation offset

Clusters VSM allocations start at offset 16. Make sure that the published
segment includes that adjustment.
  • Loading branch information...
mbgrydeland committed Sep 4, 2019
1 parent ec19cc1 commit b1a1c8a6217f9eb8da25ff1d408fc91859f2e57d
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/varnishd/common/common_vsmw.c
@@ -317,7 +317,7 @@ VSMW_NewCluster(struct vsmw *vsmw, size_t len, const char *pfx)
vc->cseg = seg;
seg->len = len;
seg->len = vc->len;
seg->cluster = vc;
REPLACE(seg->class, "");
REPLACE(seg->id, "");

0 comments on commit b1a1c8a

Please sign in to comment.
You can’t perform that action at this time.