⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 event.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: event.so,v 1.2 2007/05/14 16:03:56 bostic Exp $])m4_ref_title(Upgrading m4_db Applications,    Release 4.6: replication events,,    upgrade.4.6/memp_fset, upgrade.4.6/full_election)m4_p([dnlIt is now guaranteed the m4_ref(DB_EVENT_REP_STARTUPDONE) event will bepresented to the application after the correspondingm4_ref(DB_EVENT_REP_NEWMASTER) event, even in the face of extremethread-scheduling anomalies.  (In previous releases, if the threadprocessing the NEWMASTER message was starved, and STARTUPDONE occurredsoon after, the order might have been reversed.)])m4_p([dnlIn addition, the m4_ref(DB_EVENT_REP_NEWMASTER) event is now presentedto all types of replication applications: users of either theReplication Framework or the Base Replication API.  In both cases, them4_ref(DB_EVENT_REP_NEWMASTER) event always means that a site other thanthe local environment has become master.])m4_p([dnlThe m4_arg(envid) parameter to m4_ref(rep_message) has been changed tobe of type "int" rather than "int *", and the environment ID of a newmaster is presented to the application along with them4_ref(DB_EVENT_REP_NEWMASTER) event.  Replication applications shouldbe modified to use the m4_ref(DB_EVENT_REP_NEWMASTER) event to determinethe ID of the new master.])m4_p([dnlThe m4_arg(envid) parameter has been removed from the m4_ref(rep_elect)method and a new event type has been added.  Them4_ref(DB_EVENT_REP_ELECTED) event is presented to the application atthe site which wins an election.  In the m4_db 4.6 release, the normalresult of a successful election is either them4_ref(DB_EVENT_REP_NEWMASTER) event (with the winner's environment ID),or the m4_ref(DB_EVENT_REP_ELECTED) event.  Only one of the two eventswill ever be delivered.])m4_p([dnlThe DB_REP_NEWMASTER return code has been removed from them4_refT(rep_message).  Replication applications should be modified touse the m4_ref(DB_EVENT_REP_NEWMASTER) and m4_ref(DB_EVENT_REP_ELECTED)events to determine the existence of a new master.])m4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -