![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have two nodes (one master and one client). The application will create four databases (a b c d). Suppose my database environment and database file directory is TEST. If I start master with empty TEST, and later start client. They will synchronize each other. At this time, before I make any change to the database files in the TEST on the master (insert or delete record), I shut down client application. When i start client again, the master begin to synchronize client. However, the client gives DBException (c++) from rep_process_message method: DbEnv::rep_process_message: Invalid argument Here is the log file for master: .............. Three database files are already created [snip] [1][35240]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0] opcode: 1 name: /TEST/d0 uid: 0xa0 0xe9 0x9 0 0x3 0x3 0 0 aSx0xdf 0xfd 0xe1 0x4 0 0 0 0 0 fileid: 3 ftype: 0x1 meta_pgno: 0 id: 0x0 [1][35355]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0] opcode: 1 name: /TEST/c0 uid: 0x9f 0xe9 0x9 0 0x3 0x3 0 0 T0xd7 0xb1 0x99 ][0x3 0 0 0 0 0 fileid: 2 ftype: 0x3 meta_pgno: 0 id: 0x0 [1][35463]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0] opcode: 1 name: /TEST/b0 uid: 0x9e 0xe9 0x9 0 0x3 0x3 0 0 k0x80 &0xc6 0xbd 0xd4 0x1 0 0 0 0 0 fileid: 1 ftype: 0x1 meta_pgno: 0 id: 0x0 [1][35576]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0] opcode: 1 name: /TEST/a0 uid: 0x9d 0xe9 0x9 0 0x3 0x3 0 0 0x8f 0xfa 0x9f 0xa6 0x1d N0 0 0 0 0 0 fileid: 0 ftype: 0x3 meta_pgno: 0 id: 0x0 [1][35682]__txn_ckp: rec: 11 txnid 0 prevlsn [0][0] ckp_lsn: [1][35200] last_ckp: [0][0] timestamp: 1129331044 (Fri Oct 14 16:04:04 2005, 200510141604.04) envid: -1851516827 rep_gen: 1 The client log file have all LSN except the last one 35682. What could cause the "invalid argument"? |
|
Also why there are transactions with id 0 (35240-35682)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |