Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 647758 Details for
Bug 876908
corosync-objctl operations return Error reloading DB 11
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch - part 2 - Don't call reload on corosync-objctl actions
2012-11-19-0002-Don-t-call-reload-on-corosync-objctl-actions.patch (text/plain), 1.46 KB, created by
Jan Friesse
on 2012-11-19 13:36:50 UTC
(
hide
)
Description:
Proposed patch - part 2 - Don't call reload on corosync-objctl actions
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2012-11-19 13:36:50 UTC
Size:
1.46 KB
patch
obsolete
>From afb9d3fb27e8b5281254ff02634ef2fae6f298c9 Mon Sep 17 00:00:00 2001 >From: Jan Friesse <jfriesse@redhat.com> >Date: Mon, 19 Nov 2012 14:28:30 +0100 >Subject: [PATCH 2/2] Don't call reload on corosync-objctl actions > >confdb reload is used only for reloading of file, not for triggering >changes. > >Signed-off-by: Jan Friesse <jfriesse@redhat.com> >--- > tools/corosync-objctl.c | 15 --------------- > 1 files changed, 0 insertions(+), 15 deletions(-) > >diff --git a/tools/corosync-objctl.c b/tools/corosync-objctl.c >index 3e2bd4c..1168efe 100644 >--- a/tools/corosync-objctl.c >+++ b/tools/corosync-objctl.c >@@ -244,18 +244,6 @@ static void print_config_tree(confdb_handle_t handle, hdb_handle_t parent_object > } > } > >-static cs_error_t reload_db(confdb_handle_t handle) >-{ >- char error[1024]; >- cs_error_t ret; >- >- ret = confdb_reload(handle, 0, error, sizeof(error) - 1); >- if (ret != CONFDB_OK) { >- fprintf (stderr, "Error reloading DB %d\n", ret); >- } >- return ret; >-} >- > static int read_in_config_file (char * filename) > { > confdb_handle_t handle; >@@ -326,7 +314,6 @@ static int read_in_config_file (char * filename) > /* write the attribute */ > write_key (handle, line); > } >- reload_db(handle); > confdb_finalize (handle); > fclose (fh); > return 0; >@@ -931,8 +918,6 @@ int main (int argc, char *argv[]) { > if (action == ACTION_TRACK) { > listen_for_object_changes(handle); > stop_tracking(handle); >- } else { >- reload_db(handle); > } > > result = confdb_finalize (handle); >-- >1.7.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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 876908
:
647757
| 647758