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

Fix replication bug #86

Merged
merged 4 commits into from
Feb 12, 2016
Merged

Fix replication bug #86

merged 4 commits into from
Feb 12, 2016

Conversation

OAGr
Copy link
Member

@OAGr OAGr commented Feb 12, 2016

This is one fix for the following bug. It seems like there were a few problems here:

  1. Some metrics were being created multiple times or were copied for some reason.
  2. New guesstimates (inputs for metrics) were created on loop.

I'm not sure exactly what caused these, but the reducers definitely shouldn't have allowed for this to create gigantic models of the same metrics and guesstimates. I've solved the main issue here by enforcing uniqueness for metrics and guesstimates within models. Later on we could look at the other two issues directly (this may take some time to reproduce).

Also, this is not a fix for the fact that some metrics are so huge that they won't actually get loaded. Ideally there would be a back end fix for this; we would have a script to go through every single item and fix it. This will take some work, so I'll get to this later on.

#85

OAGr added a commit that referenced this pull request Feb 12, 2016
@OAGr OAGr merged commit 059faeb into master Feb 12, 2016
@OAGr OAGr deleted the Fix-replication-bug branch February 12, 2016 09:20
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

Successfully merging this pull request may close these issues.

1 participant