[ https://forge.continuent.org/jira/browse/CAROB-129?page=all ]
     
Gilles Rayrat resolved CAROB-129:
---------------------------------

     Resolution: Fixed
    Fix Version:     (was: Carob 1.0)
                 Carob 0.7.3

FIxed in CVS

> ControllerPool registration should be done by the connection parameters 
> rather than by the connection
> -----------------------------------------------------------------------------------------------------
>
>          Key: CAROB-129
>          URL: https://forge.continuent.org/jira/browse/CAROB-129
>      Project: Carob
>         Type: Improvement
>   Components: C++ API
>     Versions: Carob 0.7.2, Carob 0.7.1, Carob 0.7
>     Reporter: Gilles Rayrat
>     Assignee: Gilles Rayrat
>     Priority: Minor
>      Fix For: Carob 0.7.3

>
>
> Currently, connection destructor does: parameters.releaseControllerPool();
> So the controller pool is only release when the connection is deleted, even 
> if the connection parameters still exist
> As the connection holds a _copy_ of the connection parameters, we could do 
> this release in the connection parameters destructor.
> This way, the last of connection/connectionParameters to be deleted will 
> release the pool, minimizing chances to release pool too early

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to