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

Duplicate records dumped #123

Open
oowowaee opened this issue Feb 28, 2017 · 0 comments
Open

Duplicate records dumped #123

oowowaee opened this issue Feb 28, 2017 · 0 comments

Comments

@oowowaee
Copy link

My coworker and I ran into a situation today where we were dumping a model with 3500+ records to a file with
rake db:dump MODEL=MODEL_NAME EXCLUDE= FILE=OUT_FILE.

While the total number of records written to the file was correct, 300+ records were duplicated, and an equal number omitted. Setting the BATCH_SIZE to be > #total records fixed the issue.

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

1 participant