Connection
Here is more information about connection.
When the Flow Service will clear connection pools?
The Flow Servic will clear connection pools when the below cases happen.
Some connection pools
- When the connection reuse times set in the Management Console has been reached
- When the connection pool hasn't been reused during the time-out period set in the Management Console
- When the Flow in which the connection was used stopped abnormally
The all connection pools
- When the Flow Service was stopped
- When a connection definition was changed
- When the Flow in which the connection is used stopped abnormally, and an error occured when it was released
Memo
"The Flow stopped abnormally" means when the properties of the components' "error processing" and the Flow's "general error processing" are set as "none", the Flow stopped without being processed. For the information about the error processing, please refer to the "The processing steps in a Flow"-"Error processing" under "More topics" in the left side menu.
Clear connection pool
When an error happened in the database connection which is making a connection pool for some reason, for example, when you restart the database server, if the database connection which is making a pool is used, an operation error will happen in the database. When such case happened, it's necessary to clear the connection pool.
You can clear the all connection pools by clicking "Run" in the "Clear database connection" in the Management Console. The path is "Tools"-"Service"-"Flow". Or you can run flow-ctrl's "clear connection-pool" command. For more information, you can refer to the Management Console's "Help",flow-ctrl command reference.