From ede43442b88648138e134d4c97470fffc4de1e03 Mon Sep 17 00:00:00 2001 From: Saibal De Date: Thu, 10 Jul 2025 14:37:04 -0700 Subject: [PATCH] Set proper return code in member store --- src/fenix_data_policy_in_memory_raid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenix_data_policy_in_memory_raid.c b/src/fenix_data_policy_in_memory_raid.c index 8eaa362..897f163 100644 --- a/src/fenix_data_policy_in_memory_raid.c +++ b/src/fenix_data_policy_in_memory_raid.c @@ -489,6 +489,7 @@ int __imr_member_store(fenix_group_t* g, int member_id, free(recv_buf); free(serialized); + retval = FENIX_SUCCESS; } else if(group->raid_mode == 5){ //TODO: Try to optimize for partial commits - currently does parity on the whole region regardless of commit area. //TODO: I'm not sure if this is the best way to do this - could be a bottleneck if this is unoptimized since this @@ -558,6 +559,7 @@ int __imr_member_store(fenix_group_t* g, int member_id, //Finally, each node has the right stuff. + retval = FENIX_SUCCESS; } else { debug_print("ERROR Fenix_Data_member_store: Raid mode <%d> is not supported yet!\n", group->raid_mode);