summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
Commit message (Expand)AuthorAgeFilesLines
* Include process PID in log messages.pjd2010-08-311-0/+3
* Correct error message.pjd2010-08-311-1/+1
* Forgot to add event.c and event.h in r212038.pjd2010-08-312-0/+208
* Mask only those signals that we want to handle.pjd2010-08-311-1/+4
* Because it is very hard to make fork(2) from threaded process safe (we arepjd2010-08-305-34/+74
* We only want to know if descriptors are ready for reading.pjd2010-08-301-7/+4
* When someone gives NULL as data, assume this is because he want to declarepjd2010-08-301-0/+8
* Use pjdlog_exit() before fork().pjd2010-08-301-2/+2
* Constify arguments we can constify.pjd2010-08-304-23/+25
* Execute hook when connection between the nodes is established or lost.pjd2010-08-303-10/+41
* Execute hook when split-brain is detected.pjd2010-08-303-0/+10
* Use sigtimedwait(2) for signals handling in primary process.pjd2010-08-301-81/+40
* - Move functionality responsible for checking one connection to separatepjd2010-08-291-52/+75
* Disconnect after logging errors.pjd2010-08-291-1/+1
* - Call hook on role change.pjd2010-08-292-1/+26
* Allow to run hooks from the main hastd process.pjd2010-08-293-3/+22
* - Add hook_fini() which should be called after fork() from the main hastdpjd2010-08-292-22/+62
* Implement mtx_destroy() and rw_destroy().pjd2010-08-291-0/+16
* When SIGTERM or SIGINT is received, terminate worker processes.pjd2010-08-271-0/+30
* When logging to stdout/stderr, flush after each log.pjd2010-08-271-0/+1
* Correct when we log interrupted synchronization.pjd2010-08-271-6/+4
* Check if no signals were delivered just before going to sleep.pjd2010-08-271-1/+3
* Add hooks execution.pjd2010-08-271-0/+6
* Document new 'exec' parameter.pjd2010-08-271-1/+39
* Allow to execute specified program on various HAST events.pjd2010-08-276-4/+68
* - Run hooks in background - don't block waiting for them to finish.pjd2010-08-272-20/+228
* When logging to stdout/stderr don't close those descriptors after fork().pjd2010-08-271-2/+15
* Reduce indent where possible.pjd2010-08-271-30/+30
* Implement keepalive mechanism inside HAST protocol so we can detect secondarypjd2010-08-273-16/+66
* - Remove redundant and incorrect 'old' word from debug message.pjd2010-08-271-2/+4
* Don't increase number synchronized bytes in case of an error.pjd2010-08-271-3/+2
* Log that synchronization was interrupted in a proper place.pjd2010-08-271-5/+8
* We have sync_start() function to start synchronization, introduce sync_stop()pjd2010-08-271-7/+12
* Add QUEUE_INSERT() and QUEUE_TAKE() macros that simplify the code a bit.pjd2010-08-271-54/+35
* Add mtx_owned() implementation.pjd2010-08-271-0/+8
* Make comment more readable.pjd2010-08-271-2/+2
* For some setups sending data in 128kB chunks makes communication very slow. Nopjd2010-08-181-2/+1
* The 'size' variable is there to limit how many bytes we want to copy frompjd2010-08-161-2/+1
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
* Document 'none' value for remote.pjd2010-08-051-1/+6
* Implement configuration reload on SIGHUP. This includes:pjd2010-08-053-12/+322
* Prepare configuration parsing code to be called multiple times:pjd2010-08-053-58/+111
* Make control_set_role() more public. We will need it soon.pjd2010-08-052-10/+20
* Allow to use 'none' keywork as remote address in case second cluster nodepjd2010-08-051-2/+12
* Reset signal handlers after fork().pjd2010-08-052-0/+6
* - Use pjdlog_exitx() to log errors and exit instead of errx().pjd2010-08-052-5/+7
* Assert that various buffers we are large enough.pjd2010-08-052-10/+13
* Problem with assertion is that it logs on stderr. Add two macros:pjd2010-08-052-0/+33
* Keep $FreeBSD$ in __FBSDID() only for C files.pjd2010-08-051-2/+0
* Mark two more places that we won't reach.pjd2010-08-051-0/+2
OpenPOWER on IntegriCloud