Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop MVStore #13

Closed
io7m opened this issue Jan 21, 2024 · 0 comments
Closed

Drop MVStore #13

io7m opened this issue Jan 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@io7m
Copy link
Member

io7m commented Jan 21, 2024

The latest 3.0.0-SNAPSHOT has now run into:

Jan 21 11:48:14 services02 certusine01[1487091]: debug: Exception: java.io.IOException: org.h2.mvstore.MVStoreException: The write format 2 is smaller than the supported format 3 [2.2.224/5]
Jan 21 11:48:14 services02 certusine01[1487091]:   at com.io7m.certusine.vanilla@3.0.0-SNAPSHOT/com.io7m.certusine.vanilla.internal.store.CSCertificateStoreH2MVFactory.open(CSCertificateStoreH2MVFactory.java:59)
Jan 21 11:48:14 services02 podman[1487056]: debug: Exception: java.io.IOException: org.h2.mvstore.MVStoreException: The write format 2 is smaller than the supported format 3 [2.2.224/5]
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.vanilla@3.0.0-SNAPSHOT/com.io7m.certusine.vanilla.internal.store.CSCertificateStoreH2MVFactory.open(CSCertificateStoreH2MVFactory.java:59)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.vanilla@3.0.0-SNAPSHOT/com.io7m.certusine.vanilla.internal.store.CSCertificateStoreService.store(CSCertificateStoreService.java:83)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.vanilla@3.0.0-SNAPSHOT/com.io7m.certusine.vanilla.CSServices.create(CSServices.java:107)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.cmdline@3.0.0-SNAPSHOT/com.io7m.certusine.cmdline.internal.CSRenew.onExecute(CSRenew.java:136)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.quarrel.core@1.5.0/com.io7m.quarrel.core.internal.QCommandContext.execute(QCommandContext.java:207)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.quarrel.core@1.5.0/com.io7m.quarrel.core.QApplicationType.run(QApplicationType.java:94)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.cmdline@3.0.0-SNAPSHOT/com.io7m.certusine.cmdline.Main.run(Main.java:125)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.cmdline@3.0.0-SNAPSHOT/com.io7m.certusine.cmdline.Main.mainExitless(Main.java:109)
Jan 21 11:48:14 services02 podman[1487056]:   at com.io7m.certusine.cmdline@3.0.0-SNAPSHOT/com.io7m.certusine.cmdline.Main.main(Main.java:94)
Jan 21 11:48:14 services02 podman[1487056]: org.h2.mvstore.MVStoreException: The write format 2 is smaller than the supported format 3 [2.2.224/5]
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.FileStore.getUnsupportedWriteFormatException(FileStore.java:943)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.FileStore.processCommonHeaderAttributes(FileStore.java:547)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.RandomAccessStore.readStoreHeader(RandomAccessStore.java:227)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.FileStore.start(FileStore.java:916)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.MVStore.<init>(MVStore.java:289)
Jan 21 11:48:14 services02 podman[1487056]:   at com.h2database.mvstore@2.2.224/org.h2.mvstore.MVStore.open(MVStore.java:391)

This is noted here: h2database/h2database#3903

Unfortunately, we don't expose any way for users to do manual migrations as this was supposed to be an internal data store and not something requiring any kind of user management.

Let's move to SQLite.

@io7m io7m added the enhancement New feature or request label Jan 21, 2024
@io7m io7m self-assigned this Jan 21, 2024
@io7m io7m closed this as completed in 26cf177 Jan 21, 2024
io7m added a commit that referenced this issue Mar 9, 2024
Release: com.io7m.certusine 3.0.0
Change: Update com.io7m.jmulticlose:com.io7m.jmulticlose.core 1.0.0 → 1.1.0.
Change: Update org.mockito:mockito-core 5.4.0 → 5.8.0.
Change: Update net.bytebuddy:byte-buddy-agent 1.14.5 → 1.14.11.
Change: Update net.bytebuddy:byte-buddy 1.14.5 → 1.14.11.
Change: Update org.slf4j:slf4j-api 2.0.7 → 2.0.10.
Change: Update dnsjava:dnsjava 3.5.2 → 3.5.3.
Change: Update com.h2database:h2-mvstore 2.1.214 → 2.2.224.
Change: Update jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 → 4.0.1.
Change: Update com.sun.xml.bind:jaxb-impl 4.0.3 → 4.0.4.
Change: Update com.io7m.quixote:com.io7m.quixote.core 1.0.0 → 1.1.0.
Change: Update io.opentelemetry:opentelemetry-sdk-logs 1.27.0 → 1.33.0.
Change: Update org.jetbrains.kotlin:kotlin-stdlib 1.8.22 → 1.9.22.
Change: Update com.squareup.okio:okio-jvm 3.3.0 → 3.7.0.
Change: Update org.eclipse.jetty:jetty-http 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-jmx 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-server 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-servlet 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-util 11.0.15 → 11.0.19.
Change: Update com.fasterxml.jackson.core:jackson-annotations 2.15.2 → 2.16.1.
Change: Update com.fasterxml.jackson.core:jackson-core 2.15.2 → 2.16.1.
Change: Update com.fasterxml.jackson.core:jackson-databind 2.15.2 → 2.16.1.
Change: Update io.opentelemetry:opentelemetry-bom 1.27.0 → 1.33.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.core 1.2.0 → 1.4.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.ext.logback 1.2.0 → 1.4.0.
Change: Update org.junit.jupiter:junit-jupiter-api 5.9.3 → 5.10.1.
Change: Update org.junit.jupiter:junit-jupiter-engine 5.9.3 → 5.10.1.
Change: Update ch.qos.logback:logback-classic 1.4.8 → 1.4.14.
Change: Update ch.qos.logback:logback-core 1.4.8 → 1.4.14.
Change: Update org.bouncycastle:bcpkix-jdk18on 1.75 → 1.77.
Change: Update org.bouncycastle:bcprov-jdk18on 1.75 → 1.77.
Change: Update org.bouncycastle:bcutil-jdk18on 1.75 → 1.77.
Change: Update com.io7m.anethum:com.io7m.anethum.api 1.0.0 → 1.1.0.
Change: Update org.mockito:mockito-core 5.8.0 → 5.9.0.
Change: Update org.slf4j:slf4j-api 2.0.10 → 2.0.11.
Change: Update io.opentelemetry:opentelemetry-sdk-logs 1.33.0 → 1.34.1.
Change: Update io.opentelemetry:opentelemetry-bom 1.33.0 → 1.34.1.
Change: Update com.io7m.quarrel:com.io7m.quarrel.core 1.4.0 → 1.5.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.ext.logback 1.4.0 → 1.5.0.
Change: (Backwards incompatible) Require JDK 21
Change: (Backwards incompatible) Drop MVStore in favour of SQLite. Note: This is a breaking change and will require the manual deletion of the store. (Ticket: #13)
io7m added a commit that referenced this issue Mar 9, 2024
Release: com.io7m.certusine 3.0.0

Change: Update com.io7m.jmulticlose:com.io7m.jmulticlose.core 1.0.0 → 1.1.0.
Change: Update org.mockito:mockito-core 5.4.0 → 5.8.0.
Change: Update net.bytebuddy:byte-buddy-agent 1.14.5 → 1.14.11.
Change: Update net.bytebuddy:byte-buddy 1.14.5 → 1.14.11.
Change: Update org.slf4j:slf4j-api 2.0.7 → 2.0.10.
Change: Update dnsjava:dnsjava 3.5.2 → 3.5.3.
Change: Update com.h2database:h2-mvstore 2.1.214 → 2.2.224.
Change: Update jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 → 4.0.1.
Change: Update com.sun.xml.bind:jaxb-impl 4.0.3 → 4.0.4.
Change: Update com.io7m.quixote:com.io7m.quixote.core 1.0.0 → 1.1.0.
Change: Update io.opentelemetry:opentelemetry-sdk-logs 1.27.0 → 1.33.0.
Change: Update org.jetbrains.kotlin:kotlin-stdlib 1.8.22 → 1.9.22.
Change: Update com.squareup.okio:okio-jvm 3.3.0 → 3.7.0.
Change: Update org.eclipse.jetty:jetty-http 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-jmx 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-server 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-servlet 11.0.15 → 11.0.19.
Change: Update org.eclipse.jetty:jetty-util 11.0.15 → 11.0.19.
Change: Update com.fasterxml.jackson.core:jackson-annotations 2.15.2 → 2.16.1.
Change: Update com.fasterxml.jackson.core:jackson-core 2.15.2 → 2.16.1.
Change: Update com.fasterxml.jackson.core:jackson-databind 2.15.2 → 2.16.1.
Change: Update io.opentelemetry:opentelemetry-bom 1.27.0 → 1.33.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.core 1.2.0 → 1.4.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.ext.logback 1.2.0 → 1.4.0.
Change: Update org.junit.jupiter:junit-jupiter-api 5.9.3 → 5.10.1.
Change: Update org.junit.jupiter:junit-jupiter-engine 5.9.3 → 5.10.1.
Change: Update ch.qos.logback:logback-classic 1.4.8 → 1.4.14.
Change: Update ch.qos.logback:logback-core 1.4.8 → 1.4.14.
Change: Update org.bouncycastle:bcpkix-jdk18on 1.75 → 1.77.
Change: Update org.bouncycastle:bcprov-jdk18on 1.75 → 1.77.
Change: Update org.bouncycastle:bcutil-jdk18on 1.75 → 1.77.
Change: Update com.io7m.anethum:com.io7m.anethum.api 1.0.0 → 1.1.0.
Change: Update org.mockito:mockito-core 5.8.0 → 5.9.0.
Change: Update org.slf4j:slf4j-api 2.0.10 → 2.0.11.
Change: Update io.opentelemetry:opentelemetry-sdk-logs 1.33.0 → 1.34.1.
Change: Update io.opentelemetry:opentelemetry-bom 1.33.0 → 1.34.1.
Change: Update com.io7m.quarrel:com.io7m.quarrel.core 1.4.0 → 1.5.0.
Change: Update com.io7m.quarrel:com.io7m.quarrel.ext.logback 1.4.0 → 1.5.0.
Change: (Backwards incompatible) Require JDK 21
Change: (Backwards incompatible) Drop MVStore in favour of SQLite. Note: This is a breaking change and will require the manual deletion of the store. (Ticket: #13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant