ports/net/corosync/files/patch-exec-votequorum.c
Tijl Coosemans baac3115e0 Add net/corosync.
The Corosync Cluster Engine is a Group Communication System with additional
features for implementing high availability within applications. The project
provides four C Application Programming Interface features:

* A closed process group communication model with virtual synchrony
  guarantees for creating replicated state machines.
* A simple availability manager that restarts the application process when it
  has failed.
* A configuration and statistics in-memory database that provide the ability
  to set, retrieve, and receive change notifications of information.
* A quorum system that notifies applications when quorum is achieved or
  lost.

Corosync is used as a High Availability framework by projects such as Apache
Qpid and Pacemaker.

PR:		208182
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
2016-03-24 10:14:11 +00:00

11 lines
308 B
C

--- exec/votequorum.c.orig 2015-06-22 14:03:28 UTC
+++ exec/votequorum.c
@@ -893,7 +893,7 @@ static void update_ev_tracking_barrier(u
log_printf(LOGSYS_LEVEL_WARNING,
"Unable to update ev_tracking_barrier on disk data!!!");
}
- fdatasync(ev_tracking_fd);
+ fsync(ev_tracking_fd);
LEAVE();
}