]>
git.proxmox.com Git - mirror_corosync.git/log
Jan Friesse [Mon, 27 Sep 2010 07:34:21 +0000 (07:34 +0000)]
SAM Confdb integration
Patch add support for Confdb integration with SAM. It's now possible to
use SAM_RECOVERY_POLICY_CONFDB as flag to previous policies.
Also new function sam_mark_failed is added for ability to use RECOVERY
policy together with confdb and get expected results (specially with
integration with corosync watchdog)
Patch also makes SAM thread safe.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3050
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 07:05:54 +0000 (07:05 +0000)]
configure: cleanup formatting.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3049
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:51:36 +0000 (06:51 +0000)]
objdb: fix some ugly indentation.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3048
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:50:21 +0000 (06:50 +0000)]
objdb: delete trackers when an object is deleted
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3047
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:49:28 +0000 (06:49 +0000)]
objdb: object_created_notification() fix the order of the parent and object handles.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3046
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:48:24 +0000 (06:48 +0000)]
objdb: fix some strange types (uint8_t* -> void*).
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3045
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:47:30 +0000 (06:47 +0000)]
add float and double support to corosync-objctl
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3044
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 25 Sep 2010 06:46:34 +0000 (06:46 +0000)]
CPG: remove irratating log "downlist received left_list:"
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3043
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 14 Sep 2010 18:10:12 +0000 (18:10 +0000)]
Patch from Kacper Kowalik to support honoring user defined LDFLAGS.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3042
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 14 Sep 2010 17:27:27 +0000 (17:27 +0000)]
Patch from Kacper Kowalik to add support for --enable-user-flags configure
option.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3041
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 3 Sep 2010 17:04:42 +0000 (17:04 +0000)]
change shutdown priority to 80 in generic.in.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3039
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 3 Sep 2010 15:42:22 +0000 (15:42 +0000)]
Patch from Keisuke Mori to add proper dependeny on syslog to corosync init
script.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3038
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 31 Aug 2010 20:16:20 +0000 (20:16 +0000)]
Fix few xopen tsafe issues.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3037
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 31 Aug 2010 19:02:19 +0000 (19:02 +0000)]
Bump version to 1.2.8.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3034
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 31 Aug 2010 18:55:27 +0000 (18:55 +0000)]
Build properly with different versions of libc by including all posix APIs
in header definitions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3030
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 25 Aug 2010 01:13:14 +0000 (01:13 +0000)]
IPC: return CS_ERR_NO_RESOURCES to library when low on fds.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3029
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 25 Aug 2010 01:07:37 +0000 (01:07 +0000)]
POLL: gracefully handle running out of file descriptors.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3028
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Aug 2010 18:45:43 +0000 (18:45 +0000)]
Remove checking of sub parameters in service.d files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3024
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 17 Aug 2010 18:08:13 +0000 (18:08 +0000)]
Properly detect shutdown of corosync process
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3022
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 3 Aug 2010 17:31:33 +0000 (17:31 +0000)]
Remove cancel token retransmit timeout.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3012
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 2 Aug 2010 12:38:19 +0000 (12:38 +0000)]
Check that Corosync was not runned by cman
Patch fixes init script so it's tested, if corosync was runned
by cman or not. If so, it refuses to stop Corosync.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3011
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 2 Aug 2010 12:36:20 +0000 (12:36 +0000)]
Allow running only one instance of Corosync
Patch makes Corosync more compliant with common practices
for writing daemon. It creates pid file (usually
/var/run/corosync.pid) and flocks it. So only one instance
of Corosync can be executed now.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3010
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 27 Jul 2010 21:32:39 +0000 (21:32 +0000)]
Change trunk version to 1.2.7.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3007
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 27 Jul 2010 19:00:37 +0000 (19:00 +0000)]
Remove consensus check for two node cluster cases which can have smaller
consensus values. Document in man page the behavior of consensus.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3005
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 21 Jul 2010 20:48:40 +0000 (20:48 +0000)]
Fix merge error with revision 3001.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3002
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 21 Jul 2010 17:03:36 +0000 (17:03 +0000)]
Fix problem where flow control could lock up ipc under very heavy load in very
rare circumstances.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3001
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 19 Jul 2010 06:36:48 +0000 (06:36 +0000)]
Fix logging_daemon config parser code.
Resolves: rhbz#615203
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2997
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sat, 17 Jul 2010 04:59:40 +0000 (04:59 +0000)]
SYNC: always call sync_aborted() in sync_confchg_fn().
1) sync_callbacks.sync_abort can be null.
2) sync_processing is set to 0 after syncv1 is done.
Then syncv2 processing is down. If we get a config change
after syncv1 is down, but before syncv2 is done then it won't
get aborted.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2995
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 16 Jul 2010 02:13:04 +0000 (02:13 +0000)]
CTS: add a test case for Andrew's bug
Bug:
sometimes shutdown can take a long time if all nodes
are shutdown together.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2994
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 16 Jul 2010 02:11:25 +0000 (02:11 +0000)]
SYNCV2: add debug when messages are discarded
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2993
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 16 Jul 2010 02:09:51 +0000 (02:09 +0000)]
SYNC: add some ENTER() trace points.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2992
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 16 Jul 2010 02:08:54 +0000 (02:08 +0000)]
SYNCV2: reset the my_memb_determine_ring_id in sync_v2_memb_list_abort()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2991
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 16 Jul 2010 02:07:09 +0000 (02:07 +0000)]
SYNC: remove unused primary_designated from sync_primary_callback_fn()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2990
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 14 Jul 2010 18:35:36 +0000 (18:35 +0000)]
Remove reset of token timeout on retransmitted token reception. The timer
should only be reset when a real token is received or membership protocol
could run into problems with certain timing parameters.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2988
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 7 Jul 2010 21:43:15 +0000 (21:43 +0000)]
Speed up IPC connection process.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2986
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 3 Jul 2010 21:54:22 +0000 (21:54 +0000)]
Fix fail list fault that occurs in very rare circumstances.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2984
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 30 Jun 2010 19:42:04 +0000 (19:42 +0000)]
Bump trunk revision to 1.2.6.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2980
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 30 Jun 2010 19:39:55 +0000 (19:39 +0000)]
Have makefile create /var/log/cluster rather then corosync.spec file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2979
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Wed, 30 Jun 2010 10:20:42 +0000 (10:20 +0000)]
Safely redirect stderr/in/out to /dev/null to prevent fork() from crashing
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2976
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 29 Jun 2010 18:15:20 +0000 (18:15 +0000)]
Patch to fix stack protector sig abort that occurs when ipc buffer is too
short.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2974
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 29 Jun 2010 05:31:44 +0000 (05:31 +0000)]
ipc: Fix error handling of mmap util functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2972
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 28 Jun 2010 23:30:49 +0000 (23:30 +0000)]
Have corosync spec file own /var/log/cluster/corosync.log
have example use /var/log/cluster/cluster.log as default log file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2970
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 28 Jun 2010 22:15:48 +0000 (22:15 +0000)]
Fix problem where flight data leaks files in /dev/shm when corosync is
restarted continuously via init scripts.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2964
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 28 Jun 2010 13:32:56 +0000 (13:32 +0000)]
Fix OBJDB locking
Patch fixes following situation:
1. objdb receives reload notification and ends in function
object_reload_config. This will call objdb_wrlock. I will call this
thread #1
2. Another thread will decide to update corosync statistics and calls
object_key_increment. This calls objdb_rdlock. This thread is #2. But
because condition (lock_thread != pthread_self()) is satisfied, it will
also calls pthread_rwlock_rdlock. This will blocks, because thread #1
holds the lock.
3. object_reload_config will call reload functions (as real example
xml2objdb). xml2objdb needs to calls object_create. This calls
objdb_rdlock, but will hang on pthread_mutex_lock(&meta_lock), because
this lock is held by thread #2.
-> deadlock
It is handled by using recursive mutex.
Also every function is now really locked.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2963
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 23 Jun 2010 08:39:49 +0000 (08:39 +0000)]
Remove pathconf which may fall
Corosync has problem with readdir_r if pathconf function fails.
Main problem is hidden in calling pathconf (internally calls statfs)
which may fail. After this fail, newly allocated memory for readdir_r
was smaller than expected and memory was overwritten by readdir_r.
Patch removes calling of pathconf and rather use NAME_MAX constant which
is always large enough for all file systems.
Also return value of malloc SHOULD be checked.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2962
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 21 Jun 2010 21:03:36 +0000 (21:03 +0000)]
Add make/spec file changes for corosync & blackbox man pages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2961
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 21 Jun 2010 20:43:22 +0000 (20:43 +0000)]
Add a simple man page for corosync
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2960
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 21 Jun 2010 20:42:28 +0000 (20:42 +0000)]
Add a man page for corosync-blackbox
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2959
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 21 Jun 2010 18:17:47 +0000 (18:17 +0000)]
Change version to 1.2.5 in trunk.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2956
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 19 Jun 2010 00:27:46 +0000 (00:27 +0000)]
Stop the totem stats updater timer during shutdown to prevent references to
invalid memory.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2953
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 19 Jun 2010 00:10:41 +0000 (00:10 +0000)]
Unlock global serializer lock during shutdown.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2949
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Fri, 18 Jun 2010 14:33:01 +0000 (14:33 +0000)]
Prevent segfault in fork()
Not closing stdin/stderr/stdout leads to a segfault in fresetlockfiles()
See https://lists.linux-foundation.org/pipermail/openais/2010-June/014854.html for further info.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2948
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 15 Jun 2010 19:35:32 +0000 (19:35 +0000)]
Patch from Honza:
Send CPG_REASON_PROCDOWN on process left
Our manual pages are clear:
CPG_REASON_PROCDOWN - the process left a group without calling
cpg_leave().
Currently, we are sending CPG_REASON_LEAVE in such situation.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2946
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 15 Jun 2010 15:48:58 +0000 (15:48 +0000)]
object_key_iter() calls object_key_iter_typed() and then always tries to
dereference the string it returns, even if the call fails. The attached
patch fixes this.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2944
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 10 Jun 2010 01:18:27 +0000 (01:18 +0000)]
changes to corosync.spec.in template:
Move configure to %build section
don't set corosync's init levels during an upgrade of the corosync package
Patch from Vadym Chepkov
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2943
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 9 Jun 2010 21:56:37 +0000 (21:56 +0000)]
update version to 1.2.4.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2939
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 9 Jun 2010 20:14:50 +0000 (20:14 +0000)]
Update logsys to use proper ring buffer on file backed map
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2922
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 6 Jun 2010 22:17:51 +0000 (22:17 +0000)]
Disable test while I fix it.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2921
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 3 Jun 2010 22:05:17 +0000 (22:05 +0000)]
sem_wait can be interrupted by signal. Handle interruption properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2920
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 3 Jun 2010 21:36:21 +0000 (21:36 +0000)]
Fix fail to receive logic which occurs very rarely on high loss networks with
software based multicast.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2919
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 2 Jun 2010 03:18:10 +0000 (03:18 +0000)]
temporarily remove a cts test case.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2918
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 1 Jun 2010 20:35:53 +0000 (20:35 +0000)]
Totem spec is clear:
reject retransmitted tokens
if token.aru = aru in token on last rotation ... do some logic
Here is how the current code works:
last_aru = instance->my_last_aru;
instance->my_last_aru = token->aru;
reject retransmitted tokens
if token.aru = aru in token on last rotation ... do some logic
The issue is last_aru will be set to token->aru when a token retransmission
occurs before a new token arrives.
This results in the "do some logic" part happening more often then it should.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2917
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 1 Jun 2010 15:36:08 +0000 (15:36 +0000)]
Fix problem where callbacks are not delivered to evs service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2916
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 28 May 2010 20:39:58 +0000 (20:39 +0000)]
The static function 'decode_mode()' is used by the static function
'dump_subsys_config()' which is is turn used by the static function
'dump_full_config()' which is never used.
Are these functions used by someone using some magic? I did not find
any reference and even the flag LOGSYS_DEBUG, which prevents them from
compiling, does not exist at some other point.
If these functions are really not used, please remove them (because at
least one of them has a buffer overflow). Patch against 1.2.3
is attached.
If there is a need for these functions, I'll send a patch to fix
the 'decode_mode()' function.
Kind regards
Andreas Florath
Signed-off-by: Andreas Florath <gnu4u at flonatel dot org>
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2915
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:56:38 +0000 (23:56 +0000)]
Add a man page for corosync-quorumtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2914
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:55:55 +0000 (23:55 +0000)]
Add a man page for corosync-pload
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2913
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:55:22 +0000 (23:55 +0000)]
Add man page for corosync-fplay.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2912
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:54:32 +0000 (23:54 +0000)]
Add man page for corosync-cpgtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2911
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:52:53 +0000 (23:52 +0000)]
Add man page for corosync-cfgtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2910
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:51:52 +0000 (23:51 +0000)]
Really corosync-keygen.8
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2909
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 27 May 2010 23:49:00 +0000 (23:49 +0000)]
Add a man page for corosync-keygen and update corosync_overview
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2908
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 27 May 2010 08:05:31 +0000 (08:05 +0000)]
coroipcc - don't loop forever on EINTR
This patch unify behaviour of SYS V semaphores and POSIX semaphores.
POSIX semaphores never return CS_ERR_TRY_AGAIN on EINTR and keeps
waiting. This was fixed for SYS V semaphores in rev. 2303.
Another change is to remove very small probability of hung forever in
coroipcc_dispatch_put.
Last change is removal of duplicate code by adding ipc_sem_wait function.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2907
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 26 May 2010 17:47:39 +0000 (17:47 +0000)]
Fix problem where memcpy operation occurs incorrectly to copy schedule
parameter data resulting in priority inversion deadlocks on single cpu systems.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2906
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 21 May 2010 08:53:52 +0000 (08:53 +0000)]
makefile: add -lquorum -lcoroipcc to sam test programs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2905
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 21 May 2010 08:53:17 +0000 (08:53 +0000)]
Autobuild: add -v option to mock
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2904
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 19 May 2010 14:01:06 +0000 (14:01 +0000)]
Bump revision to 1.2.3.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2901
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 19 May 2010 05:30:18 +0000 (05:30 +0000)]
Fix leak in error path in nss encryption.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2857
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 19 May 2010 05:26:13 +0000 (05:26 +0000)]
This patch updates the wording for the bindnetaddr option
in corosync.conf to explicitly state that you need to use
the network address, as opposed to "should always end in
zero", which is only correct for class C networks.
Regards,
Tim
--
Tim Serong <tserong@novell.com>
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2856
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 19 May 2010 05:03:52 +0000 (05:03 +0000)]
Make cpg_membership_get() functional.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2855
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 19 May 2010 04:35:25 +0000 (04:35 +0000)]
cov 10412: fix mem leak in encrypt_and_sign_nss()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2854
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 19 May 2010 04:34:53 +0000 (04:34 +0000)]
add __attribute__((noreturn)) to functions that always exit.
we had some __attribute__((__noreturn__))
and some __attribute__((noreturn))
I made them all: __attribute__((noreturn))
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2853
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 18 May 2010 17:20:05 +0000 (17:20 +0000)]
Fix free of ring status information when memory allocation fails during
allocation of the ring status information.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2852
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 18 May 2010 16:44:59 +0000 (16:44 +0000)]
Fix signed comparison with unsigned value in mainconfig.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2851
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 18 May 2010 00:46:35 +0000 (00:46 +0000)]
cov 10388: fix check for no mcast address
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2850
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 18 May 2010 00:46:08 +0000 (00:46 +0000)]
cov (many): make sure all _set() functions return a signed int
in the body it can return -1, and callers check for -1.
but the return type is unsigned int?
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2849
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 18 May 2010 00:43:41 +0000 (00:43 +0000)]
cov 10391: allow assert to check for a negative number
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2848
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 18 May 2010 00:14:02 +0000 (00:14 +0000)]
cov 10404: don't assign loc pointer when not used.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2847
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 18 May 2010 00:13:54 +0000 (00:13 +0000)]
Fix problem where logsys messages are not flushed at exit before worker thread
is created.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2846
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 18 May 2010 00:12:52 +0000 (00:12 +0000)]
cov 10405: remove unused pointer from totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2845
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 23:35:45 +0000 (23:35 +0000)]
cov 10373: check poll return value
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2844
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 22:23:25 +0000 (22:23 +0000)]
Fix compile error in services/cfg.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2843
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:40:19 +0000 (21:40 +0000)]
cov 10392: remove pointless assert
backlog is unsigned
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2842
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:36:51 +0000 (21:36 +0000)]
cov 10413: crypto init a variable.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2841
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:35:52 +0000 (21:35 +0000)]
cov (10387, 10397): cleanup memory mapping functions
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2840
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:34:41 +0000 (21:34 +0000)]
cov 10374: check sam_hc_send() before counter++
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2839
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:33:32 +0000 (21:33 +0000)]
cov 10399: set the msg_flags to 0 in coroipcs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2838
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:32:21 +0000 (21:32 +0000)]
cov 10390: remove pointless assert.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2837
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:31:28 +0000 (21:31 +0000)]
cov 10389: remove unneccessary check.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2836
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:29:30 +0000 (21:29 +0000)]
cov 10371: check return of lcr_ifact_reference
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2835
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 16 May 2010 21:28:13 +0000 (21:28 +0000)]
cov 10401: error_string never set
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2834
fd59a12c -fef9-0310-b244-
a6a79926bd2f