Changeset eb03582069696d88174dc3cedbf7117636aca2ef
- Timestamp:
- 03/02/08 03:14:55
(10 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1204427695 +0000
- git-parent:
[69dd1d17b4eb0284f334ceaa4dbf7d617093d24b]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1204427695 +0000
- Message:
need to put the jlog_id in the header so the client knows what to checkpoint
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
rbd54e8d |
reb03582 |
|
52 | 52 | return -1; |
---|
53 | 53 | while(jcl->count > 0) { |
---|
54 | | struct { u_int32_t n_sec, n_usec, n_len; } payload; |
---|
| 54 | struct { jlog_id chkpt; u_int32_t n_sec, n_usec, n_len; } payload; |
---|
55 | 55 | if(jlog_ctx_read_message(jcl->jlog, &jcl->start, &msg) == -1) |
---|
56 | 56 | return -1; |
---|
57 | 57 | |
---|
58 | 58 | /* Here we actually push the message */ |
---|
| 59 | payload.chkpt.log = htonl(jcl->start.log); |
---|
| 60 | payload.chkpt.marker = htonl(jcl->start.marker); |
---|
59 | 61 | payload.n_sec = htonl(msg.header->tv_sec); |
---|
60 | 62 | payload.n_usec = htonl(msg.header->tv_usec); |
---|