That is never going to happen.
}
map = NULL;
- /* FIXME: when transaction sync lock is removed, we'll need to handle
- the case when a transaction is committed while mailbox is being
- synced ([synced transactions][new transaction][ext transaction]).
- this means int_offset contains [synced] and ext_offset contains
- all */
while ((ret = mail_transaction_log_view_next(view->log_view, &thdr,
&tdata)) > 0) {
mail_transaction_log_view_get_prev_pos(view->log_view,
return;
}
- /* FIXME: when we remove exclusive log locking, we
- can't rely on this. then write non-changed offset + check
- real offset + rewrite the new offset if other transactions
- weren't written in the middle */
offset = file->max_tail_offset + ctx->output->used +
sizeof(*hdr) + sizeof(*u) + sizeof(offset);
ctx->sync_includes_this = TRUE;