# HG changeset patch # User Olaf Wintermann # Date 1732744807 -3600 # Node ID 6ca97c99173e0eb8d0f6db84e6be2692cb230b57 # Parent 69fc4ecc5f604f5c98d515fd0d02bfed76d07bc4 add TODO to use a future ucx feature diff -r 69fc4ecc5f60 -r 6ca97c99173e src/server/daemon/resourcepool.c --- a/src/server/daemon/resourcepool.c Fri Nov 01 12:25:52 2024 +0100 +++ b/src/server/daemon/resourcepool.c Wed Nov 27 23:00:07 2024 +0100 @@ -226,6 +226,7 @@ if(nsapi_rq && !nsapi_rq->finished) { // request processing still ongoing and SAFs will be executed + // TODO: future ucx cxMapRemove returns, if it actually removed something, therefore use just cxMapRemove if(!cxMapRemoveAndGet(nsapi_rq->resources, cx_hash_key_str(respool->name))) { log_ereport(LOG_FAILURE, "resourcepool_free: cannot remove resource from request: potential double free"); }