[Tarantool-patches] [PATCH 05/14] box/txn: rename txn_write_to_wal to txn_write_to_wal_async

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 19 21:37:04 MSK 2020


Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/box/txn.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/box/txn.c b/src/box/txn.c
index a4ca48224..682480c16 100644
--- a/src/box/txn.c
+++ b/src/box/txn.c
@@ -485,7 +485,7 @@ txn_entry_complete_cb(struct journal_entry *entry, void *data)
 }
 
 static int64_t
-txn_write_to_wal(struct txn *txn)
+txn_write_to_wal_async(struct txn *txn)
 {
 	assert(txn->n_new_rows + txn->n_applier_rows > 0);
 
@@ -584,7 +584,7 @@ txn_write(struct txn *txn)
 		return 0;
 	}
 	fiber_set_txn(fiber(), NULL);
-	return txn_write_to_wal(txn);
+	return txn_write_to_wal_async(txn);
 }
 
 int
-- 
2.20.1



More information about the Tarantool-patches mailing list