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

Version 1.2.11 and up reset Long id generation #101

Open
Peksa opened this issue Nov 17, 2012 · 2 comments
Open

Version 1.2.11 and up reset Long id generation #101

Peksa opened this issue Nov 17, 2012 · 2 comments

Comments

@Peksa
Copy link

Peksa commented Nov 17, 2012

It seems that the Long _id generation sequences are reset when upgrading to 1.2.11 or higher. (They restart on 1 and continue generating numbers upwards, even though documents with those _id's already exist).

This causes silent overwrites of existing documents with those _id's when trying to add new documents.

@martijne
Copy link

You need to update ids table
The old version is using only the class names.
The new version is using models.classname

@greenlaw110
Copy link
Collaborator

thanks a lot!

On Mon, Nov 19, 2012 at 8:49 PM, martijne [email protected] wrote:

You need to update ids table
The old version is using only the class names.
The new version is using models.classname


Reply to this email directly or view it on GitHubhttps://github.com//issues/101#issuecomment-10507837.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants