You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/12 04:42:46 UTC
[GitHub] [incubator-shardingsphere] bxvs888 commented on issue #3233:
shardingsphere proxy 4.0.0-RC3-SNAPSHOT JDBC execute SQL report
org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask
- Exception occur: java.lang.IndexOutOfBoundsException: readerIndex(22) +
length(2) exceeds writerIndex(23): PooledSlicedByteBuf(ridx: 22, widx: 23,
cap: 23/23, unwrapped:
bxvs888 commented on issue #3233: shardingsphere proxy 4.0.0-RC3-SNAPSHOT JDBC execute SQL report org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask - Exception occur: java.lang.IndexOutOfBoundsException: readerIndex(22) + length(2) exceeds writerIndex(23): PooledSlicedByteBuf(ridx: 22, widx: 23, cap: 23/23, unwrapped:
URL: https://github.com/apache/incubator-shardingsphere/issues/3233#issuecomment-541284408
@dongzl
spring jdbc postgres
driver: postgresql-42.2.8.jar
jdbc config:
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:3307/CHL_WS_CMD
username: root
password: root
type: com.zaxxer.hikari.HikariDataSource
hikari:
minimum-idle: 5
maximum-pool-size: 15
auto-commit: true
idle-timeout: 30000
pool-name: ACMHikariCP
max-lifetime: 1800000
connection-timeout: 30000
connection-test-query: SELECT 1
execute SQL : SELECT ID,NAME, dict_code FROM API_DICT WHERE ID=? OR ID=?
ShardingSphere rule config:
bindingTables:
- api_dict
masterSlaveRules:
DS_01:
loadBalanceAlgorithmType: ROUND_ROBIN
masterDataSourceName: DS_00_01
slaveDataSourceNames:
- DS_00_02
DS_02:
loadBalanceAlgorithmType: ROUND_ROBIN
masterDataSourceName: DS_01_02
slaveDataSourceNames:
- DS_01_01
tables:
api_dict:
actualDataNodes: DS_01.api_dict,DS_02.api_dict
databaseStrategy:
standard:
preciseAlgorithmClassName: com.apsaras.shardingsphere.algorithm.HashRangeAlgorithm
shardingColumn: dict_code
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services