Open linghengqian opened 10 months ago
user-side experience:
--report-unsupported-elements-at-runtime
, then we must set a batch of --initialize-at-run-time=xxx.xxx.xxx
in buildArgs
like Spring Framework.
Databases other than H2database:
com.oracle.database.jdbc:ojdbc8:23.3.0.23.09
cannot be used under GraalVM Native Image and will not be considered. Reference https://github.com/oracle/graal/issues/7979 .
com.facebook.presto:presto-jdbc:0.287
, we need to wait for further clarification from https://github.com/testcontainers/testcontainers-java/issues/8657 , its testcontainers-java module is quite suspicious .Modes except Local:
Etcd integration is affected by a bug in vertx-grpc. Refer to https://github.com/linghengqian/shardingsphere-master-b-etcd-test .
Consul integration is blocked by:
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
@zhfeng
--report-unsupported-elements-at-runtime
on the shardingsphere side as long as we change the minimum GraalVM CE compilation version from JDK 22.0.1
to JDK 23
on the shardingsphere side.GraalVM CE For JDK 23
will be released on September 17, 2024
.
Feature Request
For English only, other languages will not be accepted.
Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
Describe the feature you would like.
In the current master branch, for the
sharding
,readwrite-splitting
,mask
,shadow
andencrypt
features instandalone
mode and H2Database, there are already corresponding GraalVM Reachability Metadata and corresponding nativeTest-related unit tests located under GraalVM Native Image.The previous PR did not cover further situations. We need to add additional unit tests and corresponding GraalVM Reachability Metadata for the following functions. Some unit tests will require the GraalVM Reachability Metadata of testcontainers.
apache/zookeeper
etcd-io/etcd
atomikos/transactions-essentials
jbosstm/narayana
apache/incubator-seata
mysql:9.0.1-oraclelinux9
postgres:16.3-bookworm
opengauss/opengauss:5.0.0
mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04
gvenzl/oracle-free
andgvenzl/oracle-xe
apache/doris
? Where is the docker image of runtime?prestodb/presto
apache/hive:4.0.0
clickhouse/clickhouse-server:24.6.2.17
qos-ch/logback
In the current master branch, ShardingSphere temporarily hosts the GraalVM Reachability Metadata of some third-party libraries. These irrelevant json entries should be submitted to https://github.com/oracle/graalvm-reachability-metadata and then deleted from the ShardingSphere side. This sub-work is initially planned to be completed before the release of GraalVM CE for JDK 29.
com.github.ben-manes.caffeine:caffeine:2.9.3
com.zaxxer:HikariCP:4.0.3
org.apache.calcite:calcite-core:1.35.0
org.apache.groovy:groovy:4.0.10
org.apache.shardingsphere.elasticjob:elasticjob-lite-core:3.0.4
org.apache.zookeeper:zookeeper:3.9.0
org.glassfish.jaxb:jaxb-runtime:2.3.1
org.slf4j:slf4j-api:1.7.36
com.mysql:mysql-connector-j:8.0.31
ch.qos.logback:logback-core:1.2.12
io.netty:netty-transport-classes-epoll:4.1.99.Final
org.jboss.narayana.jta:jta:5.12.4.Final
com.atomikos:transactions:6.0.0
com.h2database:h2:2.2.224
com.github.docker-java:docker-java-api:3.3.6
org.apache.seata:seata-all:2.1.0
The current issue involves several user-side experience issues.
--report-unsupported-elements-at-runtime
ofbuildArgs
in GraalVM Native Build Tools. This requires further breaking ShardingSphere's compatibility with previous versions under GraalVM Native Image.GraalVM CE 23.0.2 For JDK 17.0.9
toGraalVM CE 24.0.2 For JDK 22.0.2
.