]>
git.proxmox.com Git - mirror_corosync.git/log
Angus Salkeld [Wed, 24 Mar 2010 22:16:32 +0000 (22:16 +0000)]
Fix unloading of evs (service id == 0)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2731
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:15:45 +0000 (22:15 +0000)]
CTS: add service load/unload test
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2730
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:14:25 +0000 (22:14 +0000)]
Fix code coverage with lcrso's
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2729
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:13:45 +0000 (22:13 +0000)]
CTS: Add tests with more totem options.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2728
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:12:57 +0000 (22:12 +0000)]
Add crypto options to augeas lense & add make check
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2727
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:12:09 +0000 (22:12 +0000)]
CTS: Add msg sha1 checking of the message body (like cpgverify)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2726
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Mar 2010 21:49:46 +0000 (21:49 +0000)]
Bump version to 1.2.1.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2723
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Mar 2010 17:16:39 +0000 (17:16 +0000)]
Tone down noisy logging from ipcs system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2721
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Mar 2010 22:07:01 +0000 (22:07 +0000)]
Fix lockup that occurs rarely with pthread_join() is called in atexit()
handler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2719
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Mar 2010 20:08:38 +0000 (20:08 +0000)]
Fix problem where retransmissions don't occur resulting in failure to receive
condition.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2685
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 16 Mar 2010 09:53:18 +0000 (09:53 +0000)]
Fix a couple of small bugs that happen when the configuration is reloaded.
1. the reload callback was not sent to the library,
2. totem exponentially added new callbacks because the old ones were not
removed properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2684
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 16 Mar 2010 09:51:30 +0000 (09:51 +0000)]
Add a reload callback to libconfdb.
This also increments the libconfdb version to 4.1.0
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2683
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 11 Mar 2010 00:27:04 +0000 (00:27 +0000)]
Remove warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2682
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:31:15 +0000 (23:31 +0000)]
add optional --with testagents to the spec file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2681
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:29:41 +0000 (23:29 +0000)]
CTS: fix buffer overrun in test agent.
Also to make debugging easier:
1) don't stop abrt
2) fix debug message
3) catch a failed mesage to the TA and fail the test.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2680
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:28:06 +0000 (23:28 +0000)]
CTS: fix deletion of the tmp root for augeas
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2679
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 9 Mar 2010 22:04:06 +0000 (22:04 +0000)]
add a list of member nodes into the objdb runtime tree.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2678
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 9 Mar 2010 21:59:24 +0000 (21:59 +0000)]
tsafe: change fork() override to pthread_atfork() callbacks.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2677
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 4 Mar 2010 12:17:47 +0000 (12:17 +0000)]
Support for lib_cpg_finalize
Add support for MESSAGE_REQ_CPG_FINALIZE message. This will allow us
remove cpg_pd from list of active connections, and remove problem, when
cpg_finalize + cpg_initialize + cpg_join can result in CPG_ERR_EXIST
error.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2676
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 4 Mar 2010 12:12:24 +0000 (12:12 +0000)]
Cpg join with undelivered leave message
Patch handles situation, when on one node, one process:
- join cpg
- do same actions
- leave cpg
- join cpg again
Following sequence can (racy) end with broken process_info list.
To solve this problem, one more check is done in
message_handler_req_lib_cpg_join so if process_info with same pid and
group as new join request exists, CPG_ERR_TRY_AGAIN is returned.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2675
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 3 Mar 2010 21:52:08 +0000 (21:52 +0000)]
Fix some "make lint" problems
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2674
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 3 Mar 2010 19:43:50 +0000 (19:43 +0000)]
Specify the ringnumber parameter must start at 0 in the corosync.conf man page.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2673
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 3 Mar 2010 19:19:12 +0000 (19:19 +0000)]
Fix error handling to avoid segfaults/leaks on error in coroipcc_service_connect.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2672
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 3 Mar 2010 08:10:30 +0000 (08:10 +0000)]
Turn executable bit on for py/sh scripts in cts.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2671
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 3 Mar 2010 04:51:43 +0000 (04:51 +0000)]
Add tsafe.h to noinst_HEADERS to fix "make distcheck"
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2670
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 3 Mar 2010 01:27:37 +0000 (01:27 +0000)]
Add tsafe (thread safe) file to catch unsafe function calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2669
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 3 Mar 2010 00:08:57 +0000 (00:08 +0000)]
Add a test harness to corosync that uses CTS from pacemaker.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2668
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 26 Feb 2010 15:30:38 +0000 (15:30 +0000)]
Reduce the number of times the quorum message is displayed.
Patch from David Teigland
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2667
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 25 Feb 2010 19:29:49 +0000 (19:29 +0000)]
convert giduid calls to reentrant versions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2666
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 25 Feb 2010 19:28:36 +0000 (19:28 +0000)]
convert strerror() into strerror_r()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2665
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 25 Feb 2010 19:26:54 +0000 (19:26 +0000)]
convert readdir into readdir_r
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2664
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 25 Feb 2010 19:25:20 +0000 (19:25 +0000)]
convert strtok to strtok_r
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2663
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 18 Feb 2010 20:12:14 +0000 (20:12 +0000)]
Add a debug message on node join/leave.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2662
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 18 Feb 2010 20:10:36 +0000 (20:10 +0000)]
Correct testcpg's groupname.length
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2661
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 18 Feb 2010 20:08:39 +0000 (20:08 +0000)]
Patch to set unset value in token hold cancel structure as to not crash
wireshark.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2660
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 17 Feb 2010 22:23:12 +0000 (22:23 +0000)]
add a note about rotating logfile created with to_logfile
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2659
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 17 Feb 2010 00:27:35 +0000 (00:27 +0000)]
Add augeas lense for corosync.conf
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2658
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Tue, 16 Feb 2010 11:29:14 +0000 (11:29 +0000)]
Fix corosync shutdown process
This patch change corosync shutdown process, so now:
- exit function of service engine is called
- all IPC connections are closed and removed from poll
- service engine is unlocked
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2657
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 15 Feb 2010 21:39:33 +0000 (21:39 +0000)]
Use nodeid instead of localhost ip for the case when binding to a
loalhost interface.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2656
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 12 Feb 2010 07:46:02 +0000 (07:46 +0000)]
Remove a double list_del() when a tracking CFG client shuts down without
calling cfg_track_stop. This caused corosync to crash.
The extra list_empty() check is redundant too because it also happens in remove_ci_from_shutdown()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2655
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 4 Feb 2010 21:36:21 +0000 (21:36 +0000)]
Merge of Dejan's on=yes patch for the config parser options to ease migration.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2654
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 4 Feb 2010 00:18:51 +0000 (00:18 +0000)]
pass transitional members into the sync_init() callbacks.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2653
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 4 Feb 2010 00:13:27 +0000 (00:13 +0000)]
move sync_v2_init() into main_service_ready
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2652
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 2 Feb 2010 06:24:01 +0000 (06:24 +0000)]
totemsrp: fix transitional configuration changes with long token timeouts
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2651
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 30 Jan 2010 23:02:40 +0000 (23:02 +0000)]
Fix coroipcs message corruption that occurs when a message fills the remainder
of the dispatch buffer with a full message.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2650
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Fri, 22 Jan 2010 09:45:29 +0000 (09:45 +0000)]
Add schedwrk_create_nolock function
This patch adds schedwrk_create_nolock, which will not call
serialize_lock before execution of callback.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2649
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 21 Jan 2010 12:48:30 +0000 (12:48 +0000)]
Pass correct poll handle to poll_stop on exit
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2648
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 21 Jan 2010 12:46:09 +0000 (12:46 +0000)]
poll_dispatch_delete - ability to return 0
Patch fixes poll_dispatch_delete, so it is able to return 0
(success), when requested FD was found.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2647
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 20 Jan 2010 13:22:38 +0000 (13:22 +0000)]
Fix setting invalid mode in log destination
This fixes problem in revision 2642, when only last
line of log destination setting is really applied.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2646
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 14 Jan 2010 12:54:46 +0000 (12:54 +0000)]
Fix malloc deadlock in signal handler
This patch solves situations, where malloc is called
inside signal handler. It creates thread, which waits
for semaphore unlock and then starts shutdown sequence.
RHBZ#547511
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2644
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 14 Jan 2010 08:39:06 +0000 (08:39 +0000)]
Fix freeze of IPC library connection on sem_wait
This patch solves library waiting on sem_wait. It doesn't
solve all other problems, which can make corosync not
to exit (malloc race, global lock deadlock, ...)
RHBZ#547511
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2643
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 13 Jan 2010 09:52:07 +0000 (09:52 +0000)]
Fix coroparse to allow white chars before comment
- allows white characters before #
- new function to parse log destinations (remove code duplicity)
- clarify man page
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2642
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 11 Jan 2010 10:12:17 +0000 (10:12 +0000)]
Generate nodeid value when unset on BSD
Generated nodeid is generated in same way as
on Linux is.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2641
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 15 Dec 2009 19:22:36 +0000 (19:22 +0000)]
Remove invalid assertion in totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2640
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Tue, 15 Dec 2009 11:52:48 +0000 (11:52 +0000)]
Correctly determine current state in init script
If two stop actions are ever performed simultaneously, then neither will terminate.
With the default implementaiton of __pids_pidof, the status() function from
/etc/init.d/functions incorrectly thinks the other stop action is a real
corosync process.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2639
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 8 Dec 2009 07:48:53 +0000 (07:48 +0000)]
Allow empty (default) consensus timeout.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2638
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 8 Dec 2009 00:02:00 +0000 (00:02 +0000)]
Bump verion to 1.2.0.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2581
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 8 Dec 2009 00:01:39 +0000 (00:01 +0000)]
Remove string overwrite if many recovery messages are originated.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2580
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 23:23:42 +0000 (23:23 +0000)]
Remove compiler warning in vsf_quorum.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2579
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 23:21:01 +0000 (23:21 +0000)]
Remove compiler warning in totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2578
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 23:18:44 +0000 (23:18 +0000)]
Update to AUTHORS file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2577
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 7 Dec 2009 23:13:34 +0000 (23:13 +0000)]
Update spec file to deal with new libsam
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2576
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 7 Dec 2009 23:13:14 +0000 (23:13 +0000)]
Generate .pc file for new libsam
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2575
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 22:40:49 +0000 (22:40 +0000)]
SAM man pages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2574
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 18:41:49 +0000 (18:41 +0000)]
Set boolean indicating the retrans flag was set to 1 to 0 when setting retrans
flag in token to zero.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2573
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 18:22:48 +0000 (18:22 +0000)]
Make assertions for range checking of message delivery check with the define
instead of magic numbers that are not valid if the define changes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2572
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 7 Dec 2009 17:14:44 +0000 (17:14 +0000)]
Remove potentially thread unsafe call of strftime
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2571
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 7 Dec 2009 17:06:53 +0000 (17:06 +0000)]
SAM implementation merge
The SAM library provide a tool to check the health
of an application. The main purpose of SAM is to restart
a local process when it fails to respond to a healthcheck
request in a configured time interval.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2570
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 05:03:25 +0000 (05:03 +0000)]
Prevent lockup in recovery state in totem after 206 messages are originated.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2569
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 7 Dec 2009 05:02:28 +0000 (05:02 +0000)]
Fix recovery messages to be proper length to remove segfault that occurs during
recovery.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2568
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 6 Dec 2009 01:35:05 +0000 (01:35 +0000)]
Force consensus timer to be at minimum 1.2 * token to prevent one group of
nodes from executing a token timeout in the COMMIT state while another node
executes a consensus timeout, showing to applications as a temporary network
partition.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2567
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 4 Dec 2009 16:11:49 +0000 (16:11 +0000)]
Make man page match reality of totem configuration values.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2566
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 4 Dec 2009 16:10:59 +0000 (16:10 +0000)]
This puts multiple nodeids on each [QUORUM] Members line instead of
putting each nodeid on a separate line. With more than a few nodes the
excessive lines become a real nuisance, and anyone up around 32 nodes
may literally be scrolling through hundreds of those lines.
from David teigland
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2565
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 3 Dec 2009 18:18:29 +0000 (18:18 +0000)]
stats: don't calloc the totemsrp stats struct.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2564
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 3 Dec 2009 18:13:52 +0000 (18:13 +0000)]
Correct some ugly indentation.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2563
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 3 Dec 2009 08:36:31 +0000 (08:36 +0000)]
objdb: fix memory leaks when objects are destroyed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2562
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 2 Dec 2009 22:14:00 +0000 (22:14 +0000)]
make sure key_names past from confdb are null terminated.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2561
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 2 Dec 2009 15:09:18 +0000 (15:09 +0000)]
bsd: Fix mlockall on FreeBSD version >= 8.0
FreeBSD version 8.0 and greater supports mlockall
syscall correctly. So configure.ac is changed to detect
FreeBSD version and main.c is changed to support it.
Resolves: rhbz#513687
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2560
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 2 Dec 2009 06:30:27 +0000 (06:30 +0000)]
spec file cleanup
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2559
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 30 Nov 2009 23:01:51 +0000 (23:01 +0000)]
Fix threads vs fork init order
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2558
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 30 Nov 2009 21:28:30 +0000 (21:28 +0000)]
Fix stop regression
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2557
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 30 Nov 2009 20:18:48 +0000 (20:18 +0000)]
Expose service.d config directory
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2556
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 30 Nov 2009 19:11:20 +0000 (19:11 +0000)]
Start pause timer at initialization so first gather doesn't result in pause
timeout operations.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2555
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 30 Nov 2009 18:56:28 +0000 (18:56 +0000)]
Clean up init scripts and make a single generic one
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2554
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 29 Nov 2009 18:42:00 +0000 (18:42 +0000)]
Rename totem_new_msg_signal() to something more generic.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2553
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 29 Nov 2009 18:28:39 +0000 (18:28 +0000)]
coroipcs: Add a queue_size stats counter to each ipc connection.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2552
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 29 Nov 2009 18:25:51 +0000 (18:25 +0000)]
coroipcs: add logging for flow control state changes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2551
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 27 Nov 2009 22:59:48 +0000 (22:59 +0000)]
Patch to use proper IFA on Linux platforms to match interface addresses when
netmask is not 255.255.255.0.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2550
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 23 Nov 2009 00:32:31 +0000 (00:32 +0000)]
COVERITY 4: remove dead code in XYZ_dispatch().
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2549
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 23:59:51 +0000 (23:59 +0000)]
COVERITY 17: fix exit handling in show_votes().
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2548
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 23:19:41 +0000 (23:19 +0000)]
COVERITY 12: prevent overrun of logsys output buffers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2547
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 06:34:11 +0000 (06:34 +0000)]
COVERITY 13: prevent buffer overrun in quorum-tool.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2546
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 06:29:46 +0000 (06:29 +0000)]
COVERITY 11: remove dead code from cpg_iteration_next().
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2545
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 06:27:09 +0000 (06:27 +0000)]
COVERITY 14: free zcb_mapped if memory_map() fails.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2544
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 22 Nov 2009 06:22:49 +0000 (06:22 +0000)]
COVERITY 18: prevent deref after free.
Event deref_after_free: Dereferencing freed pointer "pi".
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2543
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Thu, 5 Nov 2009 13:01:25 +0000 (13:01 +0000)]
Fix compilation on RHEL-4: If _GNU_SOURCE isn't defined, then neither is pthread_spinlock_t and compilation fails
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2542
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Wed, 28 Oct 2009 19:09:59 +0000 (19:09 +0000)]
Prevent daemon from suppressing corefile generation
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2541
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 22 Oct 2009 22:30:59 +0000 (22:30 +0000)]
Bump version to 1.1.2.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2537
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 22 Oct 2009 22:29:02 +0000 (22:29 +0000)]
Revert commit 2523 which results in segfaults under some workloads.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2536
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 20 Oct 2009 22:40:29 +0000 (22:40 +0000)]
Bump revision to 1.1.1.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2533
fd59a12c -fef9-0310-b244-
a6a79926bd2f