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

Parse drops mongo database by default #373

Open
Lewwwk opened this issue Sep 15, 2017 · 0 comments
Open

Parse drops mongo database by default #373

Lewwwk opened this issue Sep 15, 2017 · 0 comments

Comments

@Lewwwk
Copy link
Collaborator

Lewwwk commented Sep 15, 2017

Currently, parse defaults to {clean:true} when it triggers sfacts.load. Currently this leads to sfacts dropping the entire db.

Expected Behavior

It should simply parse the files using existing facts by default.

Current Behavior

It parses and cleans by default. Bug in sfacts means it drops the entire db instead of the mongodown collection (this is being fixed separately)

Possible Solution

Changing default to {clean:false} and enabling an option to trigger clean if desired.

Steps to Reproduce (for bugs)

Run parse on an existing db.

Context

Sad panda production data erasure.

Your Environment

Current.

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