Commit 8eed3d03 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected provider locking to avoid deadlock during rescaling

parent 618481a6
This diff is collapsed.
......@@ -174,7 +174,7 @@ int main(int argc, char *argv[])
ret = sdskv_migrate_all_keys(kvphA, db_idA, sdskv_svr_addr_strB,
mplex_idB, db_idB, SDSKV_REMOVE_ORIGINAL);
if(ret != SDSKV_SUCCESS) {
fprintf(stderr, "Error: sdskv_migrate_all_keys() failed\n");
fprintf(stderr, "Error: sdskv_migrate_all_keys() failed (ret = %d)\n", ret);
sdskv_provider_handle_release(kvphA);
sdskv_provider_handle_release(kvphB);
margo_addr_free(mid, svr_addrA);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment