You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/15 05:43:00 UTC

[GitHub] [skywalking] wu-sheng commented on a change in pull request #6008: [ISSUE 5541] Fix H2 in-memory database table missing issues

wu-sheng commented on a change in pull request #6008:
URL: https://github.com/apache/skywalking/pull/6008#discussion_r543062297



##########
File path: oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/jdbc/h2/H2StorageConfig.java
##########
@@ -26,7 +26,7 @@
 @Getter
 public class H2StorageConfig extends ModuleConfig {
     private String driver = "org.h2.jdbcx.JdbcDataSource";
-    private String url = "jdbc:h2:mem:skywalking-oap-db";
+    private String url = "jdbc:h2:mem:skywalking-oap-db;DB_CLOSE_DELAY=-1";

Review comment:
       Take a look at application.yml, I am feeling this will be overrided, and make no effect.




----------------------------------------------------------------
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