Files
versitygw/rdma
Jihyeon Gim ae2a3a6d55 rdma: acquire session admission credit atomically
Checking the publication backlog and taking the admission
credit were separate steps, so concurrent registrations could
each observe the same headroom and overshoot the session quota
together. Both now share one critical section, and a concurrent
test pins the behavior: sixteen registrations against a limit
of eight with one record pending admit exactly seven.

An admission refusal now publishes the same SlowDown error the
wire response carries, so operational accounting matches what
the client saw, and unregister releases the credit an
unfinalized registration was holding so the admission budget
cannot leak.
2026-09-09 13:16:52 +09:00
..
2026-08-07 08:30:37 -07:00