Commit 171f3ac5 authored by Nils Goroll's avatar Nils Goroll

wrap the vxid on VSL_IDENTMASK

We spilled into the client marker bit when reaching 1<<30

Master commits:
a87b589b
0dd8c0b8
parent ca37d866
......@@ -123,7 +123,7 @@ VXID_Get(struct vxid_pool *v)
Lck_Lock(&vxid_lock);
v->next = vxid_base;
v->count = vxid_chunk;
vxid_base += v->count;
vxid_base = (vxid_base + v->count) & VSL_IDENTMASK;
Lck_Unlock(&vxid_lock);
}
v->count--;
......
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