Closed JKamsker closed 4 months ago
Oh, just noticed, it doesnt delete the log db.... could that be it? If so, i think the logdb should be deleted by litedb in that case before using it...
You can call Checkpoint
before dispose your LiteDatabase
instance. This command will copy the data from the log file to its respective position in the data file (.db).
Version Which LiteDB version/OS/.NET framework version are you using. (REQUIRED) LiteDB: 5.0.18 Windows 10 .NET 6 and 8 (Happens in both)
Describe the bug Here I insert multiple entities using InsertBulk in a loop.
Code to Reproduce Sometimes happens pretty frequently, but usually it requires some program restarts to make it happen. Here download the repo and hit f5.
or
Expected behavior No exception.
Screenshots/Stacktrace If applicable, add screenshots/stacktrace base.PageType is Empty but should Collection