Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
drop evs service
there are several reasons for this:

1) evs is only partially implemented with no plans to complete it

typedef enum {
       EVS_TYPE_UNORDERED, /* not implemented */
       EVS_TYPE_FIFO,          /* same as agreed */
       EVS_TYPE_AGREED,
       EVS_TYPE_SAFE           /* not implemented */
} evs_guarantee_t;

2) evs has no users in any upstream distribution and no search
   engine can find any other upstream using it.

3) the only reason (I was told) to carry around evs was that evs
   receives the full ring_id struct from totem. This is only
   partially correct because while the structures are prepared
   to carry around those data, they are never transmitted from
   corosync engine down the IPC line to the user.
   CPG ring_id contains the exact same information and it's
   actually less buggy (due to prototying of the info).

worst case scenario where a user really absolutely need libevs,
it can be easily reimplemented as libcpg wrapper and avoid
lots of code duplication.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
  • Loading branch information
fabbione committed Mar 12, 2012
1 parent c00502a commit 20a5289
Show file tree
Hide file tree
Showing 43 changed files with 17 additions and 3,546 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Expand Up @@ -2,7 +2,7 @@ Last Updated Dec 2009

Main Developers
---------------
Steven Dake Maintainer, totem implementation, evs, cfg,
Steven Dake Maintainer, totem implementation, cfg,
logsys, service engine architecture, ipc system
poll, timers, objdb, hdb, sync, coroapi
Christine Caulfield cpg, cfg, quorum, confdb, totem ipv6 support, totem NSS
Expand Down
2 changes: 1 addition & 1 deletion conf/corosync.conf.example
Expand Up @@ -67,7 +67,7 @@ logging {
# timestamps can be annoying).
timestamp: on
logger_subsys {
subsys: EVS
subsys: QUORUM
debug: off
}
}
2 changes: 1 addition & 1 deletion conf/corosync.conf.example.udpu
Expand Up @@ -68,7 +68,7 @@ logging {
debug: off
timestamp: on
logger_subsys {
subsys: EVS
subsys: QUORUM
debug: off
}
}
2 changes: 1 addition & 1 deletion conf/corosync.xml.example
Expand Up @@ -103,7 +103,7 @@
subsys if needed.
-->

<logger_subsys subsys="EVS" debug="off" />
<logger_subsys subsys="QUORUM" debug="off" />
</logging>

</corosync>
1 change: 0 additions & 1 deletion configure.ac
Expand Up @@ -216,7 +216,6 @@ SONAME="${SOMAJOR}.${SOMINOR}.${SOMICRO}"
# specific libraries SONAME
LIB_SONAME_IMPORT([cfg])
LIB_SONAME_IMPORT([cpg])
LIB_SONAME_IMPORT([evs])
LIB_SONAME_IMPORT([quorum])
LIB_SONAME_IMPORT([sam])
LIB_SONAME_IMPORT([votequorum])
Expand Down
5 changes: 0 additions & 5 deletions corosync.spec.in
Expand Up @@ -235,7 +235,6 @@ This package contains corosync libraries.
%{_libdir}/libcfg.so.*
%{_libdir}/libcpg.so.*
%{_libdir}/libcmap.so.*
%{_libdir}/libevs.so.*
%{_libdir}/libtotem_pg.so.*
%{_libdir}/libquorum.so.*
%{_libdir}/libvotequorum.so.*
Expand Down Expand Up @@ -267,7 +266,6 @@ The Corosync Cluster Engine APIs.
%{_includedir}/corosync/cmap.h
%{_includedir}/corosync/corotypes.h
%{_includedir}/corosync/cpg.h
%{_includedir}/corosync/evs.h
%{_includedir}/corosync/hdb.h
%{_includedir}/corosync/sam.h
%{_includedir}/corosync/quorum.h
Expand All @@ -279,20 +277,17 @@ The Corosync Cluster Engine APIs.
%{_libdir}/libcfg.so
%{_libdir}/libcpg.so
%{_libdir}/libcmap.so
%{_libdir}/libevs.so
%{_libdir}/libtotem_pg.so
%{_libdir}/libquorum.so
%{_libdir}/libvotequorum.so
%{_libdir}/libsam.so
%{_libdir}/libcorosync_common.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/cpg_*3*
%{_mandir}/man3/evs_*3*
%{_mandir}/man3/quorum_*3*
%{_mandir}/man3/votequorum_*3*
%{_mandir}/man3/sam_*3*
%{_mandir}/man8/cpg_overview.8*
%{_mandir}/man8/evs_overview.8*
%{_mandir}/man8/votequorum_overview.8*
%{_mandir}/man8/sam_overview.8*
%{_mandir}/man3/cmap_*3*
Expand Down
2 changes: 1 addition & 1 deletion exec/Makefile.am
Expand Up @@ -48,7 +48,7 @@ sbin_PROGRAMS = corosync
libtotem_pg_a_SOURCES = $(TOTEM_SRC)

corosync_SOURCES = vsf_ykd.c coroparse.c vsf_quorum.c sync.c \
logsys.c cfg.c cmap.c cpg.c evs.c mon.c pload.c \
logsys.c cfg.c cmap.c cpg.c mon.c pload.c \
votequorum.c wd.c util.c schedwrk.c main.c \
apidef.c quorum.c icmap.c timer.c \
ipc_glue.c service.c mainconfig.c totemconfig.c
Expand Down

0 comments on commit 20a5289

Please sign in to comment.