Skip to content

Commit 98404c4

Browse files
nick0veibhatt-jumptrading
authored andcommitted
replay: add bank unlock in writer
1 parent ae6232a commit 98404c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/discof/writer/fd_writer_tile.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ after_frag( fd_writer_tile_ctx_t * ctx,
267267

268268
if( FD_LIKELY( txn_ctx->flags & FD_TXN_P_FLAGS_EXECUTE_SUCCESS ) ) {
269269
FD_SPAD_FRAME_BEGIN( ctx->spad ) {
270-
if( FD_UNLIKELY( !ctx->bank ) ) {
271-
FD_LOG_CRIT(( "No bank for slot %lu", txn_ctx->slot ));
272-
}
273270

274271
fd_runtime_finalize_txn(
275272
ctx->funk,
@@ -288,6 +285,8 @@ after_frag( fd_writer_tile_ctx_t * ctx,
288285
/* Spin for the replay tile to ack the previous txn done. */
289286
FD_SPIN_PAUSE();
290287
}
288+
} else {
289+
fd_banks_unlock( ctx->banks );
291290
}
292291
/* Notify the replay tile. */
293292
fd_fseq_update( ctx->fseq, fd_writer_fseq_set_txn_done( msg->txn_id, msg->exec_tile_id ) );

0 commit comments

Comments
 (0)