@@ -936,10 +936,12 @@ void replica_bulk_loader::report_group_download_progress(/*out*/ bulk_load_respo
936936 primary_state.__set_download_progress (_download_progress.load ());
937937 primary_state.__set_download_status (_download_status.load ());
938938 }
939+ host_port primary;
940+ GET_HOST_PORT (_replica->_primary_states .pc , primary, primary);
939941 SET_VALUE_FROM_IP_AND_HOST_PORT (response,
940942 group_bulk_load_state,
941943 _replica->_primary_states .pc .primary ,
942- _replica-> _primary_states . pc . hp_primary ,
944+ primary ,
943945 primary_state);
944946 LOG_INFO_PREFIX (" primary = {}, download progress = {}%, status = {}" ,
945947 FMT_HOST_PORT_AND_IP (_replica->_primary_states .pc , primary),
@@ -978,10 +980,12 @@ void replica_bulk_loader::report_group_ingestion_status(/*out*/ bulk_load_respon
978980
979981 partition_bulk_load_state primary_state;
980982 primary_state.__set_ingest_status (_replica->_app ->get_ingestion_status ());
983+ host_port primary;
984+ GET_HOST_PORT (_replica->_primary_states .pc , primary, primary);
981985 SET_VALUE_FROM_IP_AND_HOST_PORT (response,
982986 group_bulk_load_state,
983987 _replica->_primary_states .pc .primary ,
984- _replica-> _primary_states . pc . hp_primary ,
988+ primary ,
985989 primary_state);
986990 LOG_INFO_PREFIX (" primary = {}, ingestion status = {}" ,
987991 FMT_HOST_PORT_AND_IP (_replica->_primary_states .pc , primary),
@@ -1025,10 +1029,12 @@ void replica_bulk_loader::report_group_cleaned_up(bulk_load_response &response)
10251029
10261030 partition_bulk_load_state primary_state;
10271031 primary_state.__set_is_cleaned_up (is_cleaned_up ());
1032+ host_port primary;
1033+ GET_HOST_PORT (_replica->_primary_states .pc , primary, primary);
10281034 SET_VALUE_FROM_IP_AND_HOST_PORT (response,
10291035 group_bulk_load_state,
10301036 _replica->_primary_states .pc .primary ,
1031- _replica-> _primary_states . pc . hp_primary ,
1037+ primary ,
10321038 primary_state);
10331039 LOG_INFO_PREFIX (" primary = {}, bulk load states cleaned_up = {}" ,
10341040 FMT_HOST_PORT_AND_IP (_replica->_primary_states .pc , primary),
@@ -1064,10 +1070,12 @@ void replica_bulk_loader::report_group_is_paused(bulk_load_response &response)
10641070
10651071 partition_bulk_load_state primary_state;
10661072 primary_state.__set_is_paused (_status == bulk_load_status::BLS_PAUSED);
1073+ host_port primary;
1074+ GET_HOST_PORT (_replica->_primary_states .pc , primary, primary);
10671075 SET_VALUE_FROM_IP_AND_HOST_PORT (response,
10681076 group_bulk_load_state,
10691077 _replica->_primary_states .pc .primary ,
1070- _replica-> _primary_states . pc . hp_primary ,
1078+ primary ,
10711079 primary_state);
10721080 LOG_INFO_PREFIX (" primary = {}, bulk_load is_paused = {}" ,
10731081 FMT_HOST_PORT_AND_IP (_replica->_primary_states .pc , primary),
0 commit comments