Skip to content

Commit

Permalink
tpu: fix overreporting of 'abandoned' metric
Browse files Browse the repository at this point in the history
  • Loading branch information
riptl authored and ripatel-fd committed Nov 26, 2024
1 parent 4a4802a commit f508b3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/fdctl/run/tiles/fd_quic_tile.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,12 @@ quic_stream_rx( fd_quic_conn_t * conn,
slot = fd_tpu_reasm_prepare( reasm, conn_uid, stream_id, tspub ); /* infallible */
ctx->metrics.reasm_started++;
ctx->metrics.reasm_active++;
conn->srx->rx_streams_active++;
} else if( slot->k.state != FD_TPU_REASM_STATE_BUSY ) {
ctx->metrics.frag_dup_cnt++;
return FD_QUIC_SUCCESS;
}

conn->srx->rx_streams_active++;

int reasm_res = fd_tpu_reasm_frag( reasm, slot, data, data_sz, offset );
if( FD_UNLIKELY( reasm_res != FD_TPU_REASM_SUCCESS ) ) {
int is_gap = reasm_res==FD_TPU_REASM_ERR_SKIP;
Expand Down

0 comments on commit f508b3e

Please sign in to comment.