dbwrap_watch: Prevent two watchers per fetch_locked sequence
authorVolker Lendecke <vl@samba.org>
Sun, 17 Nov 2019 15:45:45 +0000 (16:45 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 22 Nov 2019 23:57:47 +0000 (23:57 +0000)
commit7cea5fec29a0d425263a7ecb79d89a4f13de3f7e
treee4ed24fcedc650e7470665ba0dc80578201d2697
parent79dcabfbabb9503eff9efe7cd32b1cb431d3ee69
dbwrap_watch: Prevent two watchers per fetch_locked sequence

This can lead to very confusing bugs, and the code right now does not
deal with it well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
source3/lib/dbwrap/dbwrap_watch.c