After upgrade from JIRA 6.1.7 to JIRA 7.0.10 the support tool plugin reports:
"The database configuration 'pool-test-on-borrow' is not set as per our recommended settings."
I am using a MySQL Database. My DB config does not have a setting for pool-test-on-borrow.
This document - https://confluence.atlassian.com/jirakb/health-check-database-configuration-792636748.html says:
This setting checks if a validation query will be sent when the connection is borrowed from the pool. The health check confirms that this value is set to false to prevent too many validation queries being sent to the database. Please set the pool-test-on-borrow
values to false
in the dbconfig.xml
file, or see the Resolution section above for examples.
In the "Resolution" section in the document the sample dbconfig.xml for MySQL does not have a pool-test-on-borrow setting. The sample dbconfig.xml for PostgreSQL does.
Question:
Should I put this into my dbconfig.xml for a MySQL database with a setting of false?
If you don't have any errors or warnings in your Health Check you shouldn't put extra flags in your dbconfig.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.