Hello Chris,
Just wondering what is your reason to call MVStore.getMetaMap()?
But if you do, please read it's javadoc:
This data is for informational purposes only.
The data is subject to change in future versions.
The data in this map should not be modified (changing system data may 
corrupt the store).

On Monday, June 10, 2024 at 5:57:57 AM UTC-4 Chris van Hinsbergen wrote:

> I found an issue, not sure it is a design choice or a bug. When I open a 
> new MVStore, and I only add entries in the meta map using 
> MVStore.getMetaMap().put("some","thing"), and I call store.commit(), it 
> returns -1. Closing the store and reopening it leaves me with a database 
> that does not have any metadata.
>
> However, when I also add an entry to some map, the data in the metamap IS 
> stored. So adding data to the meta map does not trigger the store to have 
> unsaved changes, but the metadata IS stored.
>
> Is this intended behavior?
>
> Thanks!
>
> Chris
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/bd0d57ad-d931-44eb-8fa4-5e6f7e78316an%40googlegroups.com.

Reply via email to