MySQL Forums
Forum List  »  Utilities

Re: Fabric creates multiple DB connections
Posted by: Puneet Nahata
Date: August 30, 2016 02:33PM

On furthur investigation it seems the serverGroupsExpiration setting was set to 1 second. So it was constantly refreshing the ServerGroup objects. Hence the serverConnections map ended up having multiple entries for same key as the key is based on object reference.

The question is, when refreshState method is called, why the existing connections is not cleared from the serverConnections map. Is this a bug or am i using the api incorrectly?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Fabric creates multiple DB connections
339
August 30, 2016 02:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.