-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 autoId & Shrink #899
Comments
Hi @nrudkovskiy, thanks! Yes, now I got why this occurs in some cases.. but no one tell me about shrink.. I forgot to override Sequence counter when shrink. I'm fixing... Plans to release new version 4.1.2 in this carnival holiday. |
Fixed. Just update sequence number :) Thanks! |
Thank you for LiteDB!
|
Hi @mbdavid, I am facing the same issue in LiteDB Studio (v1.0.2.0). During opening a LiteDB database, it says Cannot Insert duplicate key in unique index '_id'. The duplicate value is '{"guide":961................ I want to shrink/reduce my LiteDB database generated in open bullet This is my database file: |
Hi mbdavid, I reproduce bug with auto id and Shrink.
public class EntityInt { public int Id {get; set;} public string Name {get; set;} }
;
File.Delete("E:\Temp\Test.db");
`
The text was updated successfully, but these errors were encountered: