diff options
author | Michael Adam <obnox@samba.org> | 2009-10-28 01:54:04 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-03 01:02:36 +0100 |
commit | 9bd6b9d9f6591d3f5138c2a831340a88a5e4de5a (patch) | |
tree | a0e5ac40353607cfa1e01f9f978721f2d27c1d9f /lib/zlib/inflate.c | |
parent | 8d61b8abbc64fc2114c133e93b8c63188ef60bb8 (diff) | |
download | samba-9bd6b9d9f6591d3f5138c2a831340a88a5e4de5a.tar.gz samba-9bd6b9d9f6591d3f5138c2a831340a88a5e4de5a.tar.bz2 samba-9bd6b9d9f6591d3f5138c2a831340a88a5e4de5a.zip |
s3:dbwrap_ctdb: fix a race in starting concurrent transactions on a single node
There are two races in concurrent transactions on a single node.
One in starting a transaction and one with replay during commit.
This commit closes the first race by storing the client pid in the
transaction-lock record and comparing the stored pid against its own
pid after releasing the lock and refetching the record inside the
transaction.
Michael
Diffstat (limited to 'lib/zlib/inflate.c')
0 files changed, 0 insertions, 0 deletions