📄 repinit.so
字号:
m4_comment([$Id: repinit.so,v 1.11 2004/09/28 14:13:09 bostic Exp $])m4_ref_title(Upgrading m4_db Applications, Release 4.2: Replication,, upgrade.4.2/lockng, upgrade.4.2/nosync)m4_section(Replication initialization)m4_p([dnlIn the m4_db 4.2 release, replication environments must be specificallyinitialized by any process that will ever do anything other than opendatabases in read-only mode (that is, any process which might call anyof the m4_db replication interfaces or modify databases). Thisinitialization is done when the replication database environment handleis opened, by specifying the m4_ref(DB_INIT_REP) flag to them4_refT(dbenv_open).])m4_section(Database methods and replication clients)m4_p([dnlAll of the m4_ref(Db) object methods may now returnm4_ref(DB_REP_HANDLE_DEAD) when a replication client changes masters.When this happens the m4_ref(Db) handle is no longer able to be used andthe application must close the handle using the m4_refT(dbh_close) andopen a new handle. This new return value is returned when a clientunrolls a transaction in order to synchronize with the new master.Otherwise, if the application was permitted to use the original handle,it's possible the handle might attempt to access nonexistent resources.])m4_section(m4_ref(rep_message))m4_p([dnlThe m4_refT(rep_message) has new return values and an log sequencenumber (LSN) associated with those return values. The new argument ism4_arg(ret_lsnp), which is the returned LSN when them4_refT(rep_message) returns m4_ref(DB_REP_ISPERM) orm4_ref(DB_REP_NOTPERM). See m4_link(M4RELDIR/ref/rep/trans,Transactional guarantees) for more information.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -