summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
Commit message (Expand)AuthorAgeFilesLines
* 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
* Now that TCP will be checked last we don't need any knowledge about otherpjd2010-08-051-5/+6
* Add an argument to the proto_register() function which allows protocol topjd2010-08-055-10/+17
* Spelling fixes.joel2010-07-311-1/+1
* Actually, only the fullsync mode is implemented, not memsync mode.pjd2010-07-221-3/+5
* Correct various log messages.pjd2010-06-142-3/+3
* Fix typos.pjd2010-06-141-7/+7
OpenPOWER on IntegriCloud