journal: bind asynchronous write completion to an entry
In commit 77ba0e35 we've redesigned wal journal operations such that asynchronous write completion is a single instance per journal. It turned out that such simplification is too tight and doesn't allow us to pass entries into the journal with custom completions. Thus lets allow back such ability. We will need it to be able to write "confirm" records into wal directly without touching transactions code at all. Part-of #5129 Signed-off-by:Cyrill Gorcunov <gorcunov@gmail.com>
Showing
- src/box/box.cc 8 additions, 7 deletionssrc/box/box.cc
- src/box/journal.c 2 additions, 0 deletionssrc/box/journal.c
- src/box/journal.h 11 additions, 9 deletionssrc/box/journal.h
- src/box/txn.c 1 addition, 1 deletionsrc/box/txn.c
- src/box/vy_log.c 1 addition, 1 deletionsrc/box/vy_log.c
- src/box/wal.c 8 additions, 11 deletionssrc/box/wal.c
- src/box/wal.h 2 additions, 2 deletionssrc/box/wal.h
Loading
Please register or sign in to comment