summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-03-10 18:01:31 +1100
committerVolker Lendecke <vl@samba.org>2016-03-11 19:59:53 +0100
commitad5b9c3df2f2e3c93642fb1c069a6f4c56eb94f4 (patch)
tree46fe2ffc866fdeaaa73abbd74370cf82a22a5edd /docs-xml
parent9341c02a8998a860d4f390bba2556555a138c71b (diff)
downloadsamba-ad5b9c3df2f2e3c93642fb1c069a6f4c56eb94f4.tar.gz
ctdb-client: Increase the timeout for TRANS3_COMMIT control
On a busy system, TRANS3_COMMIT control can take upto or longer than 3 seconds. On timeout, there are few possible outcomes. 1. The transaction has completed on all nodes and TRANS3_COMMIT control has returned. In such a case, there is no problem. 2. The transaction has completed on the local node, but TRANS3_COMMIT control is still active. In such a case, ctdb_transaction_commit() can return successfully. If this is being called from ctdb, then ctdb will exit. This will cause ctdb daemon to trigger recovery since the client exited while transaction is active. This will cause unnecessary recovery. 3. Database recovery was started and ctdb_transaction_commit() will retry till the recovery completes the transaction. Increasing the timeout to 30 seconds will avoid the spurious database recoveries when TRANS3_COMMIT control takes longer to finish. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Mar 11 19:59:53 CET 2016 on sn-devel-144
Diffstat (limited to 'docs-xml')
0 files changed, 0 insertions, 0 deletions