- Further recovery fix in CegoTableManager::insertDataTable In case of an insert exception ( e.g. duplicate pkey ), a checkpoint is forced now after deleteData to ensure file consistency In CegoObjectManager::insertPageData a second checkpoint is forced after data copy, if a previous checkpoint has occured. Otherwise this insert might be ignored during recovery because of lower LSN - Fix in CegoBTreeManager::checkDuplicate, the check for uflag ( returned CegoBTreeNode::valueExists ) to check for high value is not enough if, entries have been deleted from node. Instead, all subsequent pages have to be checked until a value higher is found - Introduced CegoBufferPool::getCPCount() to return to current checkpoint count. This method is used by CegoTableManager, CegoObjectManager and CegoTransactionManager to decide, if a consitency checkpoint is required - Version passed checkCrashRecovery with the following parameters NUMRUN=100 DOTRANSACTION=-dotransaction ARANGE=10000 AINTERVAL=500 ACOUNT=30000 PRIMARY=primary POOLSIZE=191 All relevant checkpoint situations have been observed over all run Submitted by: Bjoern Lemke <lemke@lemke-it.com>
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cego
|
|
PORTVERSION= 2.44.13
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.lemke-it.com/
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= Relational and transactional database system
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= liblfcbase.so:devel/lfcbase \
|
|
liblfcxml.so:devel/lfcxml
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/sudo:security/sudo \
|
|
bash:shells/bash
|
|
|
|
USES= libtool localbase ncurses readline shebangfix
|
|
SHEBANG_FILES= tools/cgbackup tools/cgrecover tools/cgsimload \
|
|
tools/logManager tools/backupManager
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
|
|
USERS= cego
|
|
GROUPS= cego
|
|
|
|
PLIST_SUB+= USER=${USERS}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,-O3,,g' \
|
|
${WRKSRC}/src/Makefile.in \
|
|
${WRKSRC}/samples/cgplustest/Makefile.in \
|
|
${WRKSRC}/samples/cgwraptest/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${CP} ${WRKSRC}/tools/* ${STAGEDIR}${DATADIR}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
|
|
${REINPLACE_CMD} -e 's/%%USER%%/${USERS}/g' ${WRKSRC}/samples/rc/cego
|
|
${CP} ${WRKSRC}/samples/rc/cego ${STAGEDIR}${PREFIX}/etc/rc.d/
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.2.0.0
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.2.0.0
|
|
|
|
.include <bsd.port.mk>
|