You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/12/27 08:03:05 UTC
[GitHub] [iotdb] SteveYurongSu commented on issue #4637: Grafana-IoTDB java.sql.SQLException if IOTDB version > 0.12.2
SteveYurongSu commented on issue #4637:
URL: https://github.com/apache/iotdb/issues/4637#issuecomment-1001412203
Hi Jeffrey, thanks for reporting this!
I found this in the log:
```shell
Caused by: java.sql.SQLException: Does not support setReadOnly
at org.apache.iotdb.jdbc.IoTDBConnection.setReadOnly(IoTDBConnection.java:319) ~[iotdb-jdbc-0.12.4.jar!/:0.12.4]
at com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:372) ~[HikariCP-2.5.1.jar!/:na]
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:346) ~[HikariCP-2.5.1.jar!/:na]
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:506) ~[HikariCP-2.5.1.jar!/:na]
... 74 common frames omitted
```
Has the method `setReadOnly` ever been called by your application? The method is not supported by the `IoTDBConnection`.
The IoTDB will automatically set the status to ReadOnly only in the event of a system failure. In other cases, we should not set the system state to read-only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org