Skip to content

Commit 1e70864

Browse files
two-heartripatel-fd
authored andcommitted
repair: fix fd_repair_send_sign_request map index for pong
1 parent 106c9cb commit 1e70864

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/discof/repair/fd_repair_tile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464

6565
/* static map from request type to metric array index */
6666
static uint metric_index[FD_REPAIR_KIND_ORPHAN + 1] = {
67+
[FD_REPAIR_KIND_PONG] = FD_METRICS_ENUM_REPAIR_SENT_REQUEST_TYPES_V_PONG_IDX,
6768
[FD_REPAIR_KIND_SHRED] = FD_METRICS_ENUM_REPAIR_SENT_REQUEST_TYPES_V_NEEDED_WINDOW_IDX,
6869
[FD_REPAIR_KIND_HIGHEST_SHRED] = FD_METRICS_ENUM_REPAIR_SENT_REQUEST_TYPES_V_NEEDED_HIGHEST_WINDOW_IDX,
6970
[FD_REPAIR_KIND_ORPHAN] = FD_METRICS_ENUM_REPAIR_SENT_REQUEST_TYPES_V_NEEDED_ORPHAN_IDX,

0 commit comments

Comments
 (0)