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

[BUG] db.Rebuild throws an exception "Detected loop in FindAll({0})" #2582

Open
frabul opened this issue Jan 18, 2025 · 0 comments
Open

[BUG] db.Rebuild throws an exception "Detected loop in FindAll({0})" #2582

frabul opened this issue Jan 18, 2025 · 0 comments
Labels

Comments

@frabul
Copy link

frabul commented Jan 18, 2025

LiteDB version 5.0.20
Windows 11
.net 6.0

When calling Rebuild on the database it fails with an exception "LiteDB.LiteException: 'Detected loop in FindAll({0})'"
To reproduce it try to open the attached db and Rebuild.
The attached file is 7z zipped file, i hade to add the .gif extension in order to attach it because 7z is forbidden.

TradesAndOrdersArch = new LiteDatabase(OperationsArchivePath);
TradesAndOrdersArch.Pragma("UTC_DATE", true);
TradesAndOrdersDb = new LiteDatabase(OperationsDbPath);
TradesAndOrdersDb.Rebuild();

Image

@frabul frabul added the bug label Jan 18, 2025
@frabul frabul changed the title [BUG] [BUG] db.Rebuild throws an exception "Detected loop in FindAll({0})" Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant