diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-18 17:25:30 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-19 02:30:43 -0700 |
commit | ced2d41bfdf6ee3ee820fa6090e4bf3147ab0d84 (patch) | |
tree | 60b37b2ed0233cb4fbf12e5f26fa61a2e2a40c89 /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 8d034b840e957d96a3c3e1f86a3ff28aabb8c896 (diff) |
glusterd / geo-rep: do all gsyncd pre-configuration in glusterd init
This is made possible by gsyncd config templating, by which
session specific settings can be expressed in a generic form.
Benefits:
- in glusterd we use only generic (rx pattern based) config settings
so we don't violate users' freedom to make settigs for their sessions
- don't have to invoke gsyncd in excess to prepare a session
- we can pre-configure slave side too (relying on the templates and
gsyncd service auto-discovery)
- much leaner, much more expressive code
Signed-off-by: Csaba Henk <csaba@lowlife.hu>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index c51853d90..0bae57847 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -100,6 +100,7 @@ static char *gsync_reserved_opts[] = { "pid-file", "log-file", "state-file", + "session-owner", NULL }; |