Changes
Started by upstream project gerrit-osmo-remsim #125
Started 4 hr 22 min ago
Queued 6 sec
Took 3 min 27 sec
on build5-deb12build-ansible
Fix: Remove slot mapping at bankd when client disconnects
If a client disconnects before removing the slot mapping, the slotmap
entry will not be removed automatically. A subsequent client connection
for the same mapping will then trigger the the error: “ignoring
identical slotmap.”
In a setup with multiple readers, there are multiple bankd worker
threads. If a client re-connects, but if its connection is accepted by
a different thread, subsequent reader access or unmapping will fail.
There will be no mapping at the new thread.
The approach of this fix is to remove the slot mapping, if the client
connection to the worker thread terminates.
Change-Id: I2fd03490e2506c55104309a0ef952389119023b8
If a client disconnects before removing the slot mapping, the slotmap
entry will not be removed automatically. A subsequent client connection
for the same mapping will then trigger the the error: “ignoring
identical slotmap.”
In a setup with multiple readers, there are multiple bankd worker
threads. If a client re-connects, but if its connection is accepted by
a different thread, subsequent reader access or unmapping will fail.
There will be no mapping at the new thread.
The approach of this fix is to remove the slot mapping, if the client
connection to the worker thread terminates.
Change-Id: I2fd03490e2506c55104309a0ef952389119023b8