summaryrefslogtreecommitdiff
path: root/source3/include/locking.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-08 09:58:15 +1000
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:10 +0200
commit2592565bde6faa8ecc0524c4130c22e51c75f536 (patch)
treec6dbb43dc2312725081e24afc333b2af479635b4 /source3/include/locking.h
parentbd47edc8d68daa8db54dc897b69f0bca0bedf80a (diff)
downloadsamba-2592565bde6faa8ecc0524c4130c22e51c75f536.tar.gz
samba-2592565bde6faa8ecc0524c4130c22e51c75f536.tar.bz2
samba-2592565bde6faa8ecc0524c4130c22e51c75f536.zip
handle two special cases
1) when all nodes write the same value to the record, or when writing a value that is already there, we can skip the write and save ourselves a network transactions 2) when all remote nodes fail an update, and we then fail a replay, we don't need to trigger a recovery. This solves a corner case where we could get into a recovery loop (This used to be commit 2481bfce4307274806584b0d8e295cc7f638e184)
Diffstat (limited to 'source3/include/locking.h')
0 files changed, 0 insertions, 0 deletions