[ 
https://issues.apache.org/jira/browse/IOTDB-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiangdong Huang reassigned IOTDB-1848:
--------------------------------------

    Assignee: xinzhongtianxia

> Failed to initialize pool: Does not support setReadOnly
> -------------------------------------------------------
>
>                 Key: IOTDB-1848
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1848
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Connectors/Grafana
>            Reporter: xinzhongtianxia
>            Assignee: xinzhongtianxia
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-10-14-17-41-48-614.png
>
>
> 1. iotdb-grafana used jdbcTemplate which will use hikari as database 
> connection pool
> 2. when creating connection, hikari will set readonly param
> 3. in iotdb-jdbc module, IoTDBConnection throw an exception in setReadOnly() 
> method.
> 4. Then, we will see : 
> *com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to 
> initialize pool: Does not support setReadOnly*
> *!image-2021-10-14-17-41-48-614.png!*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to