Commit b1a1c8a6 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

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.
parent ec19cc19
......@@ -317,7 +317,7 @@ VSMW_NewCluster(struct vsmw *vsmw, size_t len, const char *pfx)
ALLOC_OBJ(seg, VSMWSEG_MAGIC);
AN(seg);
vc->cseg = seg;
seg->len = len;
seg->len = vc->len;
seg->cluster = vc;
REPLACE(seg->class, "");
REPLACE(seg->id, "");
......
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