Skip to content

Commit b3191d2

Browse files
committed
work
1 parent d8e5d6d commit b3191d2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/discof/rpcserver/fd_rpc_history.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,10 @@ fd_rpc_history_save_fec(fd_rpc_history_t * hist, fd_store_t * store, fd_reasm_fe
319319
ulong col_idx = fec_msg->slot & (FD_REASM_MAP_COL_CNT - 1);
320320
struct fd_rpc_reasm_map_column * col = &reasm_map->cols[col_idx];
321321

322-
if( col->ele_cnt == 0 && fec_msg->fec_set_idx != 0 ) {
323-
FD_LOG_WARNING(( "fec_set_idx %u is not 0 but this is the first fec for slot %lu", fec_msg->fec_set_idx, fec_msg->slot ));
324-
return;
322+
if( col->ele_cnt == 0 ) {
323+
FD_TEST( fec_msg->fec_set_idx == 0 );
324+
} else {
325+
FD_TEST( fec_msg->fec_set_idx > col->ele[col->ele_cnt-1].fec_set_idx );
325326
}
326327

327328
FD_TEST( col->ele_cnt < FD_REASM_MAP_COL_HEIGHT );

0 commit comments

Comments
 (0)