The Samba-Bugzilla – Attachment 14892 Details for
Bug 13790
Example CTDB recovery lock setting is not scary enough
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.10 and possibly 4.9
BZ13790.patch (text/plain), 1.88 KB, created by
Martin Schwenke
on 2019-03-02 09:42:42 UTC
(
hide
)
Description:
Patch for 4.10 and possibly 4.9
Filename:
MIME Type:
Creator:
Martin Schwenke
Created:
2019-03-02 09:42:42 UTC
Size:
1.88 KB
patch
obsolete
>From 2c48f5f25bb173998a3c34e52aa1797071372a5d Mon Sep 17 00:00:00 2001 >From: Martin Schwenke <martin@meltin.net> >Date: Thu, 10 Jan 2019 14:15:18 +1100 >Subject: [PATCH] ctdb-config: Change example recovery lock setting to one that > fails > >ctdbd will start without a recovery lock configured. It will log a >message saying that this is not optimal. However, a careless user may >overlook both this message and the importance of setting a recovery >lock. If the existing example configuration is uncommented then the >directory containing it will be created (by 01.reclock.script) and the >failure (i.e. multiple nodes able to take the lock) will be confusing. > >Instead, change the example setting to one that will result in banned >nodes, encouraging users to consciously configure (or deconfigure) the >recovery lock. Tweak the corresponding comment. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13790 > >Signed-off-by: Martin Schwenke <martin@meltin.net> >Reviewed-by: Amitay Isaacs <amitay@gmail.com> >(cherry picked from commit 82e7f38214896c2c200132bc6dde3348cfac16cc) >--- > ctdb/config/ctdb.conf | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > >diff --git a/ctdb/config/ctdb.conf b/ctdb/config/ctdb.conf >index a9e6f693405..5440600a435 100644 >--- a/ctdb/config/ctdb.conf >+++ b/ctdb/config/ctdb.conf >@@ -11,7 +11,12 @@ > # log level = NOTICE > > [cluster] >- # Shared recovery lock file to avoid split brain. No default. >- # Do NOT run CTDB without a recovery lock file unless you know exactly >- # what you are doing. >- # recovery lock = /shared/recovery.lock >+ # Shared recovery lock file to avoid split brain. Daemon >+ # default is no recovery lock. Do NOT run CTDB without a >+ # recovery lock file unless you know exactly what you are >+ # doing. >+ # >+ # Please see the RECOVERY LOCK section in ctdb(7) for more >+ # details. >+ # >+ # recovery lock = !/bin/false RECOVERY LOCK NOT CONFIGURED >-- >2.20.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
amitay
:
review+
Actions:
View
Attachments on
bug 13790
: 14892