]>
git.proxmox.com Git - mirror_corosync.git/log
Christine Caulfield [Wed, 18 Mar 2009 08:37:10 +0000 (08:37 +0000)]
Add a dummy parameter to totemip_iface check so that it compiles on Darwin.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1864
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 18 Mar 2009 08:30:25 +0000 (08:30 +0000)]
Fix DARWIN_OPTS expansion
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1863
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 18 Mar 2009 07:52:48 +0000 (07:52 +0000)]
Fix more soname= at linking
Start fixing distcheck
White space cleanups
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1862
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 18:37:03 +0000 (18:37 +0000)]
- tidy up whitespaces
- try to keep everything < 80 cols
- stop installing testing lcrso
- fix soname= invokation
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1861
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 13:25:12 +0000 (13:25 +0000)]
Fix doc stuff
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1860
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 13:06:56 +0000 (13:06 +0000)]
Update index.html to reflect new changes in man/Makefile.am
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1859
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 12:44:47 +0000 (12:44 +0000)]
Drop tarball name from AC_INIT as it confuses the hell out of what we need
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1858
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 12:43:41 +0000 (12:43 +0000)]
Fix the whole manpage stuff
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1857
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 10:46:19 +0000 (10:46 +0000)]
Add support for SOCKETDIR
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1856
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 10:03:18 +0000 (10:03 +0000)]
Add corosync.pc support
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1855
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 17 Mar 2009 09:53:39 +0000 (09:53 +0000)]
remove hardcoded /var and use localstatedir
instead.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1854
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 16 Mar 2009 13:54:40 +0000 (13:54 +0000)]
configure.ac:
- Fix white space for --help.
- Drop LCRSODIR as global and move it to local directory.
all */Makefile.am:
- export -DDIRECTORY_NAME as required (for now only LCRSO and
SYSCONFDIR)
top level Makefile.am:
- drop hardcoded ETCDIR that is just wrong and use the configured one
*.c files around:
- drop hardcoded ETCDIR and use configured one.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1853
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 16 Mar 2009 13:15:25 +0000 (13:15 +0000)]
Fix LCRSO handling
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1852
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:50:19 +0000 (11:50 +0000)]
Make everything < 80 cols
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1851
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:36:49 +0000 (11:36 +0000)]
remove comment
fix quoting
make GCC test portable
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1850
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:01:50 +0000 (11:01 +0000)]
Major configure.in/ac cleanup
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1849
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 13 Mar 2009 10:02:09 +0000 (10:02 +0000)]
- Fix macro typo for PROG_CC_C_O.
- add --enable-debug configure option to #define DEBUG 1 and set
compiler options to default to -O0.
- restore default -O3.
- Drop some random leftovers (CC_IN_CONFIGURE, AISPREFIX, SSH path check
and ppc64 -m64).
- Remove yet another GCC test as -g is automatically detected by
autoconf macros.
- Cleanup a bit deprecated ARCH section.
- Tidy up RESULT section.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1848
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 13 Mar 2009 08:26:56 +0000 (08:26 +0000)]
- remove --enable-static option as it is not required. This was a
leftover from gcc-2.x something time. corosync binary should always be
built dynamic.
- fix quorum_* target as it was missing the list of objects to be linked
in.. doh!
- fix object dependencies between TARGET, TARGET_OBJS and TARGET_SRC.
This also fixes the build/relink issues at install times that have been
noted before.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1847
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 12 Mar 2009 17:13:42 +0000 (17:13 +0000)]
All integers received from objdb_get_int had invalid handle type.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1846
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 12 Mar 2009 16:15:34 +0000 (16:15 +0000)]
Use nocheck flagging on confchg iteration of handle ids.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1845
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 12 Mar 2009 14:30:58 +0000 (14:30 +0000)]
Fix testconfdb use of object handles.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1844
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 23:48:05 +0000 (23:48 +0000)]
Set correct OBJECT_PARENT_HANDLE define in coroapi.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1843
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 23:28:01 +0000 (23:28 +0000)]
Add handle checking to the hdb system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1842
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 23:09:04 +0000 (23:09 +0000)]
Fix several errors in objdb notification handling, hdb_handle_t type
conversion errors, indentation, and do hdb_handle_put after instance
data is used instead of before.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1841
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 23:06:18 +0000 (23:06 +0000)]
Use hdb_handle_t for handle type in service.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1840
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 23:05:41 +0000 (23:05 +0000)]
Use hdb_handle_t for handle type in lcr_ifact.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1839
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 12:30:52 +0000 (12:30 +0000)]
Fix library linking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1838
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 11:33:19 +0000 (11:33 +0000)]
Fix more build/install glitches
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1837
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 11:27:20 +0000 (11:27 +0000)]
Fix broken error check in commit 1818.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1836
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 09:06:35 +0000 (09:06 +0000)]
1) kill all those "for" shell loops. They are dangerous (as they don't
report install failures) and it's just overhead since $(INSTALL) can do
the same.
2) make sure to create our directories with $(INSTALL). Not sure I did
catch them all yet, but at least a good bunch. This also fix the
corosync.conf install error I introduced in the previous commit.
3) Handle SONAME automatically. This is the most intrusive change across
the board:
* configure.in now defines the system wide SOMAJOR, SOMINOR, SOMICRO
and SONAME and exports them to the Makefile.
* exec/Makefile.am, lib/Makefile.am are now updated to use those vars
rather than hardcoded version.
4) Bump the SOMAJOR to 3 as agreed since we did change both API and ABI.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1835
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 08:03:55 +0000 (08:03 +0000)]
Dear pacemaker.. you will not take over this project! MUAHAH
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1834
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 07:54:30 +0000 (07:54 +0000)]
Drop ld.conf file that is now unrequired
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1833
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 07:28:12 +0000 (07:28 +0000)]
Readd pkgconfig subdir to the build system and port it
to autoconf
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1832
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 11 Mar 2009 05:52:48 +0000 (05:52 +0000)]
Add entries to maintainer-clean target
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1831
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 04:47:08 +0000 (04:47 +0000)]
Remove warnings from coroipc.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1830
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 11 Mar 2009 04:41:23 +0000 (04:41 +0000)]
Remove warnings from ipc.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1829
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 10 Mar 2009 17:13:37 +0000 (17:13 +0000)]
Fix some const warnings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1828
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 10 Mar 2009 13:18:11 +0000 (13:18 +0000)]
Add dynamic timestamp on/off
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1827
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 12:22:55 +0000 (12:22 +0000)]
Remove const warnings in crypto.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1826
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 12:22:38 +0000 (12:22 +0000)]
Remove qualifier errors in main.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1825
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 12:08:32 +0000 (12:08 +0000)]
Remove const warnings from uic system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1824
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:57:21 +0000 (11:57 +0000)]
change some char * to const char * to match usage in system in lcr.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1823
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:53:43 +0000 (11:53 +0000)]
Fix const qualifiers in lcr_ifact.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1822
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:45:00 +0000 (11:45 +0000)]
Fix missing prototypes in totempg.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1821
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:42:10 +0000 (11:42 +0000)]
Fix missing prototypes in totemmrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1820
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:40:12 +0000 (11:40 +0000)]
Fix missing prototypes and mismatched prototypes in totemmrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1819
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:30:34 +0000 (11:30 +0000)]
Add missing hdb_handle_put in totemsrp and handle errors in mkdir and
chdir properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1818
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:23:57 +0000 (11:23 +0000)]
Remove string literal warnings from totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1817
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:21:23 +0000 (11:21 +0000)]
Add missing prototypes in totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1816
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:14:28 +0000 (11:14 +0000)]
Remove pointer math warnings from totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1815
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:08:49 +0000 (11:08 +0000)]
Define undefined prototypes
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1814
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 11:04:12 +0000 (11:04 +0000)]
Remove string literal warnings from totemrrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1813
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 10:35:14 +0000 (10:35 +0000)]
Remove const warnings from main.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1812
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 10:32:09 +0000 (10:32 +0000)]
Remove type casting to (char *) in logsys.h.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1811
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 10:12:52 +0000 (10:12 +0000)]
Remove pointer math from totempg.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1810
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 10:09:43 +0000 (10:09 +0000)]
Remove pointer math warnings from totemnet.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1809
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 10:05:40 +0000 (10:05 +0000)]
Remove const warnings in totemip code.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1808
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 10 Mar 2009 09:58:07 +0000 (09:58 +0000)]
Quorum checks the ring ID is new before initiating a sync. Unfortunately
it copies the ring ID BEFORE checking it so there is always a match.
Sigh
This patch fixes it.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1807
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:48:34 +0000 (09:48 +0000)]
Remove const warnings relating to logsys global definitions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1806
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:40:54 +0000 (09:40 +0000)]
Remove logsys warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1805
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:34:20 +0000 (09:34 +0000)]
Remove const warnings in totempg.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1804
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:30:29 +0000 (09:30 +0000)]
Remove const warnings from totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1803
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:25:43 +0000 (09:25 +0000)]
Remove qualifier warnings regarding totemrrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1802
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:22:08 +0000 (09:22 +0000)]
Remove const/nonconst assignment warnings in totemnet.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1801
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 09:00:15 +0000 (09:00 +0000)]
Remove leftover from automake merge.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1800
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 08:39:48 +0000 (08:39 +0000)]
Add missing committed file for automake.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1799
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 10 Mar 2009 08:35:41 +0000 (08:35 +0000)]
Automake. The journey begins.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1798
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 10 Mar 2009 08:03:50 +0000 (08:03 +0000)]
Add logsys_format_get to logsys API.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1797
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 10 Mar 2009 07:11:17 +0000 (07:11 +0000)]
logsys_format_set should use its own internal copy of format_buffer
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1796
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 9 Mar 2009 12:59:40 +0000 (12:59 +0000)]
Cleanup logsys format init around to use default settings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1795
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 6 Mar 2009 10:07:35 +0000 (10:07 +0000)]
The IPC patch broke CFG shutdown in several places, this patches fixes
all of them.
In particular, cfg_try_shutdown asks all applications that are
registered for callbacks if they approve the shutdown. This caused a bit
of a re-entrancy problem because it also asked the process that called
for the shutdown! The patch causes cfg to only ask OTHER applications in
the assumption that any application that calls
corosync_cfg_tryshutdown() will approve of the action :-)
In addition it adds the response to cfg_replyto_shutdown which was
missing (it couldn't be used with the old system but is mandatory now),
and removes a double-free in the library finalise code.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1794
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 6 Mar 2009 07:38:34 +0000 (07:38 +0000)]
Add reserve/release functionality to totem to reserve message queue
space.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1793
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 6 Mar 2009 07:09:24 +0000 (07:09 +0000)]
Allow logsys_format_set to reset to default.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1792
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 6 Mar 2009 02:42:48 +0000 (02:42 +0000)]
Use list_del on process info in the condition that lib_exit_fn is called
to prevent segfault from processes later processing that list entry.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1791
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 4 Mar 2009 10:14:36 +0000 (10:14 +0000)]
logsys: re-add support for timestamp that was lost in the
upgrade from v1 to v2
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1790
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 4 Mar 2009 10:13:26 +0000 (10:13 +0000)]
Fix logsys_set_format by updating the right bits
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1789
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 3 Mar 2009 03:57:37 +0000 (03:57 +0000)]
Fix uninitialized memory. Spotted by valgrind
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1788
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 3 Mar 2009 00:58:16 +0000 (00:58 +0000)]
Rework a bit of how lib_exit_fn works so that reference counts may be
used in the exit functions for services such as cpg.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1786
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 3 Mar 2009 00:57:44 +0000 (00:57 +0000)]
Lock cpg ipc connections into memory on lib_init_fn and remove lock on
lib_exit_fn.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1785
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 26 Feb 2009 14:51:18 +0000 (14:51 +0000)]
This patch fixes some minor bugs in the expected_votes behaviour and
adds a couple of new features:
- When total_votes exceeds the expected_votes value then expected_votes
is increased to that value.
- A callback can be sent to a client whenever expected_votes is changed
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1784
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 26 Feb 2009 14:49:41 +0000 (14:49 +0000)]
The current object database allows duplicate key names per object. This
is a bit of a nightmare to manage and provides no useful functionality
that I can see. Making keys unique has been discussed on IRC several
times and there seem to be no objections...so here is the patch:
Note that I have removed some now-useless parameters from the objdb API
too.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1783
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 25 Feb 2009 11:14:47 +0000 (11:14 +0000)]
Unification around hdb_handle_t data type.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1782
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 25 Feb 2009 06:54:42 +0000 (06:54 +0000)]
Send configuration changes to CPG listeners. (regression in IPC patch).
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1781
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 25 Feb 2009 04:58:08 +0000 (04:58 +0000)]
Install corosync-fplay and corosync-pload binaries
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1780
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 25 Feb 2009 04:55:32 +0000 (04:55 +0000)]
Fix possible segfault with IPC service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1779
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 25 Feb 2009 04:55:06 +0000 (04:55 +0000)]
Remove extra printf debug.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1778
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Feb 2009 10:32:23 +0000 (10:32 +0000)]
Remove installation of static libcoroipc.a.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1777
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Feb 2009 06:15:17 +0000 (06:15 +0000)]
Fix problem with 1722 commit which broke ipc.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1776
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Mon, 23 Feb 2009 15:26:21 +0000 (15:26 +0000)]
Move VOTEQUORUM_SERVICE to ipc_gen.h where it belongs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1775
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Mon, 23 Feb 2009 08:53:45 +0000 (08:53 +0000)]
When a quorum device registers it tells the corosync quorum engine of
the new quorum which then tries to do a new sync(). But that's no use
because the nodelist and ring_id is identical to before. Also it can try
and register while a sync is already in operation ... which gets it
awfully stuck!
So this patch makes the sync conditional on there being a new ring ID to
do a sync on.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1774
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 20 Feb 2009 16:02:06 +0000 (16:02 +0000)]
Fix problem in disallowed mode that prevented a HASSTATE node joining
a cluster without state or vice-versa
see Red Hat BZ#485026
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1773
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 20 Feb 2009 08:24:40 +0000 (08:24 +0000)]
Don't crash if a library tries to talk to a module that is not loaded
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1772
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 20 Feb 2009 07:46:15 +0000 (07:46 +0000)]
Allow CPG messages to be sent on an inquorate cluster
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1771
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 19 Feb 2009 15:30:20 +0000 (15:30 +0000)]
Fix crash in confdb_finalize
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1770
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 19 Feb 2009 08:42:31 +0000 (08:42 +0000)]
Get rid of one crash in confdb. It still double-frees in confdb_finalize though.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1769
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 19 Feb 2009 08:38:40 +0000 (08:38 +0000)]
Fix crashes in quorum_initialize & votequorum_initialize
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1768
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 19 Feb 2009 08:05:52 +0000 (08:05 +0000)]
Fix build error spotted by gcc-4.4
#elif with no clause is clearly wrong and continuing when we don't
know the byte order only defers the problem to a point where its much
harder to debug
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1767
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 19 Feb 2009 02:23:58 +0000 (02:23 +0000)]
Whitetank IPC Forward Port.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1766
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 18 Feb 2009 02:13:30 +0000 (02:13 +0000)]
Remove redundant statement in totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1764
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 18 Feb 2009 02:07:59 +0000 (02:07 +0000)]
Use definition instead of magic number.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1763
fd59a12c -fef9-0310-b244-
a6a79926bd2f