[
https://issues.apache.org/jira/browse/OAK-4477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376889#comment-15376889
]
Julian Reschke edited comment on OAK-4477 at 7/14/16 3:42 PM:
--------------------------------------------------------------
trunk: [r1752659|http://svn.apache.org/r1752659]
[r1748747|http://svn.apache.org/r1748747]
[r1748714|http://svn.apache.org/r1748714]
1.4: [r1752662|http://svn.apache.org/r1752662]
[r1748748|http://svn.apache.org/r1748748]
[r1748737|http://svn.apache.org/r1748737]
1.2: [r1752664|http://svn.apache.org/r1752664]
1.0: [r1752679|http://svn.apache.org/r1752679]
was (Author: reschke):
trunk: [r1752659|http://svn.apache.org/r1752659]
[r1748747|http://svn.apache.org/r1748747]
[r1748714|http://svn.apache.org/r1748714]
1.4: [r1752662|http://svn.apache.org/r1752662]
[r1748748|http://svn.apache.org/r1748748]
[r1748737|http://svn.apache.org/r1748737]
1.2: [r1752664|http://svn.apache.org/r1752664]
> RDBDatasourceFactory should use pool config similar to sling datasource
> defaults
> --------------------------------------------------------------------------------
>
> Key: OAK-4477
> URL: https://issues.apache.org/jira/browse/OAK-4477
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: rdbmk
> Affects Versions: 1.0.31, 1.4.3, 1.5.3, 1.2.16
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Fix For: 1.5.6, 1.0.33, 1.4.6, 1.2.18
>
> Attachments: OAK-4477.diff
>
>
> {{RDBDataSourceFactory}} is used only for testing, and creates instances of
> {{org.apache.tomcat.jdbc.pool.DataSource}}.
> These are currently created with default config, while
> {{org.apache.sling.datasource}} (which is likely used in production) uses
> it's own defaults. In particular, it configures three interceptors --
> {{StatementCache;SlowQueryReport(threshold=10000);ConnectionState}} -- which
> we do not, thus they aren't getting unit test coverage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)