isar / isar/hive

Hive not saving to disk?

Open
#1,001 4 comments 6 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by creating the promised minimal Windows example using box.put(k, v), box.toMap(), and the restart/reload sequence with several custom types. Check whether all stored types and later changes survive reopening the box; done means the reproducible persistence failure is fixed or narrowed to a clear cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.