Steven Dake
e14ed63828
New topic descriptions based upon work community wants to do
...
This file describes the topics of interest for development, their start and
finish date, their main developer, and a description of the topic.
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-22 10:02:55 +11:00
Angus Salkeld
f0104b6d31
Add .gitignore files.
...
Otherwise "git status" is a pain.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@edhat.com>
2010-10-21 07:43:46 -07:00
Steven Dake
46c212bd2a
Add -n option to corosync-objctl to create a new object/key combo
...
Find an existing parent object and add the last object/key name of the command
to the object database. This allows the runtime addition of ip addresses to
the list of IPs corosync knows about for the purpose of the UDPU transport mode.
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-21 11:26:16 +11:00
Jan Friesse
7c8cdfb197
Remove delay in library on corosync shutdown
...
Patch removes 2 seconds delay in library on normal corosync shutdown.
Delay is still present on abnormal shutdown.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3059 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-10-12 13:03:37 +00:00
Angus Salkeld
d14d07d02d
autobuild: fix the continous build
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3058 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-28 23:42:57 +00:00
Angus Salkeld
10be299e7b
Check for a properly configured multicast address.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3057 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 22:41:26 +00:00
Angus Salkeld
a166db335b
CTS: add sam/wd integration tests.
...
- fix send_dynamic() exception
- fix basic sam integration test
- fixup calls to sam tests
- fix startup when using testquorum (currently only handles votequorum)
- improve SAM test case with better checking.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3056 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:14:59 +00:00
Angus Salkeld
191c19429c
AUG: add support for resources section & quorum/quorate
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3055 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:14:06 +00:00
Angus Salkeld
83b24b660b
WD/SAM integration.
...
- timestamps -> uint64_t and in nanosecs
- use clock_gettime
- common object naming
- common state names
- timeouts in milliseconds
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3054 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:13:15 +00:00
Angus Salkeld
07d06c0c0f
Add monitoring and watchdog services.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3053 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:12:03 +00:00
Angus Salkeld
72addbc4cd
Add a Finite State Machine.(fsm.h)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3052 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:11:04 +00:00
Angus Salkeld
61b7d85978
Add a Finite State Machine.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3051 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:08:01 +00:00
Jan Friesse
1a32fc4a6c
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
2010-09-27 07:34:21 +00:00
Angus Salkeld
04dcca855b
configure: cleanup formatting.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3049 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 07:05:54 +00:00
Angus Salkeld
53b0aa47e6
objdb: fix some ugly indentation.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3048 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 06:51:36 +00:00
Angus Salkeld
739f9ab1b7
objdb: delete trackers when an object is deleted
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3047 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 06:50:21 +00:00
Angus Salkeld
23e3455fa7
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
2010-09-25 06:49:28 +00:00
Angus Salkeld
397e648080
objdb: fix some strange types (uint8_t* -> void*).
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3045 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 06:48:24 +00:00
Angus Salkeld
24fd548828
add float and double support to corosync-objctl
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3044 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 06:47:30 +00:00
Angus Salkeld
2ab786f3d1
CPG: remove irratating log "downlist received left_list:"
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3043 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-25 06:46:34 +00:00
Steven Dake
4ac55e52e4
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
2010-09-14 18:10:12 +00:00
Steven Dake
d9fde27b22
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
2010-09-14 17:27:27 +00:00
Steven Dake
71c2702424
change shutdown priority to 80 in generic.in.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3039 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-03 17:04:42 +00:00
Steven Dake
e1bbafcaeb
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
2010-09-03 15:42:22 +00:00
Steven Dake
71c54f9440
Fix few xopen tsafe issues.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3037 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-31 20:16:20 +00:00
Steven Dake
6db1291e74
Bump version to 1.2.8.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3034 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-31 19:02:19 +00:00
Steven Dake
3f564e2be1
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
2010-08-31 18:55:27 +00:00
Angus Salkeld
3b320c17ae
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
2010-08-25 01:13:14 +00:00
Angus Salkeld
f95c4f76c3
POLL: gracefully handle running out of file descriptors.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3028 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-25 01:07:37 +00:00
Steven Dake
6992410df6
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
2010-08-24 18:45:43 +00:00
Steven Dake
5a3c285fbd
Properly detect shutdown of corosync process
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3022 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-17 18:08:13 +00:00
Steven Dake
fef259970a
Remove cancel token retransmit timeout.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3012 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-08-03 17:31:33 +00:00
Jan Friesse
d6cd3b6b34
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
2010-08-02 12:38:19 +00:00
Jan Friesse
93fb44ed0f
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
2010-08-02 12:36:20 +00:00
Steven Dake
8374740020
Change trunk version to 1.2.7.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3007 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-27 21:32:39 +00:00
Steven Dake
8fa6f4f58e
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
2010-07-27 19:00:37 +00:00
Steven Dake
985d3d0166
Fix merge error with revision 3001.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3002 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-21 20:48:40 +00:00
Steven Dake
1135c911cd
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
2010-07-21 17:03:36 +00:00
Fabio M. Di Nitto
2b253383dc
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
2010-07-19 06:36:48 +00:00
Angus Salkeld
0fab390ae4
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
2010-07-17 04:59:40 +00:00
Angus Salkeld
c77d601667
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
2010-07-16 02:13:04 +00:00
Angus Salkeld
b10fb56e8e
SYNCV2: add debug when messages are discarded
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2993 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-16 02:11:25 +00:00
Angus Salkeld
2b4d150f81
SYNC: add some ENTER() trace points.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2992 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-16 02:09:51 +00:00
Angus Salkeld
7e7a32ffc2
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
2010-07-16 02:08:54 +00:00
Angus Salkeld
e43e760dde
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
2010-07-16 02:07:09 +00:00
Steven Dake
b8878d2e76
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
2010-07-14 18:35:36 +00:00
Steven Dake
10fcf89591
Speed up IPC connection process.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2986 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-07-07 21:43:15 +00:00
Steven Dake
95615b2fec
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
2010-07-03 21:54:22 +00:00
Steven Dake
d95e91d6e0
Bump trunk revision to 1.2.6.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2980 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-06-30 19:42:04 +00:00
Steven Dake
171fa9a183
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
2010-06-30 19:39:55 +00:00