Skip to content

Commit

Permalink
DAOS-16702 rebuild: CRT_EVT_ALIVE possibly from CRT_EVS_GRPMOD
Browse files Browse the repository at this point in the history
refine handle_event.
Skip-nlt: true

Signed-off-by: Xuezhao Liu <xuezhao.liu@intel.com>
  • Loading branch information
liuxuezhao committed Oct 21, 2024
1 parent a952a14 commit 0a34490
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pool/srv_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1524,9 +1524,11 @@ handle_event(struct pool_svc *svc, struct pool_svc_event_set *event_set)
for (i = 0; i < event_set->pss_len; i++) {
struct pool_svc_event *event = &event_set->pss_buf[i];

if (event->psv_src != CRT_EVS_SWIM || event->psv_type != CRT_EVT_ALIVE)
if (event->psv_type != CRT_EVT_ALIVE)
continue;

D_DEBUG(DB_MD, DF_UUID ": got CRT_EVT_ALIVE event, psv_src %d, psv_rank %d\n",
DP_UUID(svc->ps_uuid), event->psv_src, event->psv_rank);
pool_restart_rebuild_if_rank_wip(svc->ps_pool, event->psv_rank);

if (ds_pool_map_rank_up(svc->ps_pool->sp_map, event->psv_rank)) {
Expand Down

0 comments on commit 0a34490

Please sign in to comment.