hive icon indicating copy to clipboard operation
hive copied to clipboard

Hive not saving to disk?

Open andy98725 opened this issue 2 years ago • 2 comments

In a Windows desktop application, I'm storing 8 custom types under different keys to a box using box.put(k, v). Printing the box.toMap() shows all of the values correctly stored. When I restart and load the box, only 2-3 of the 8 types load in, and any further changes don't persist.

Is the box corrupting? This happens consistently in my project. It's somewhat large, so I'll try to recreate a minimal example tomorrow.

andy98725 avatar Jun 18 '22 06:06 andy98725

having the same issue

razfazz avatar Jun 18 '22 19:06 razfazz

It looks like one of the recent updates introduced this breaking behavior. ~~Temporary fix: Downgrade to hive 2.0.0~~

After more testing, this is still happening on 2.0.0.

andy98725 avatar Jun 19 '22 02:06 andy98725

Is it reproducible if you do await put(...) instead of put(...)?

0ttik avatar Jan 31 '23 05:01 0ttik

Is there a fix available for this?

Myzel394 avatar May 25 '23 16:05 Myzel394