ignite icon indicating copy to clipboard operation
ignite copied to clipboard

removing MULTI_THREADED from H2 options

Open lsliwko opened this issue 4 years ago • 1 comments

The support for MULTI_THREADED has been removed in H2 v1.4.200: https://github.com/h2database/h2database/releases/tag/version-1.4.200

If a H2 v1.4.200 is on classpath, it will crash Ignite: Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MULTI_THREADED" [90113-200]

It's due to hardcoded DB_OPTIONS: https://github.com/andyglick/apache-ignite/blob/master/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java#L202

The fix is to either remove MULTI_THREADED argument or to add IGNORE_UNKNOWN_SETTINGS=TRUE

lsliwko avatar Aug 17 '21 09:08 lsliwko

I have same problem... Thank you for sharing!

dkhjmu avatar Nov 03 '21 07:11 dkhjmu