Don't free the shared shard maps
When client sessions are closed, the shared shard maps should not be freed.
This commit is contained in:
parent
e4543881d2
commit
b1b2e5b770
@ -1381,11 +1381,6 @@ static void freeSession(ROUTER* router_instance, void* router_client_session)
|
||||
* all the memory and other resources associated
|
||||
* to the client session.
|
||||
*/
|
||||
if (router_cli_ses->shardmap)
|
||||
{
|
||||
hashtable_free(router_cli_ses->shardmap->hash);
|
||||
free(router_cli_ses->shardmap);
|
||||
}
|
||||
free(router_cli_ses->rses_backend_ref);
|
||||
free(router_cli_ses);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user