oq-engine: Remove --force-inputs and input reuse functionality

Bug #1154552 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Critical
Lars Butler

Bug Description

During a workshop over the past few days, multiple users have reported strange bugs related to input reuse. Here are the facts:

* --force-inputs is `false` by default
* this means that by default, we attempt to reuse inputs
* if a user experiences an error with a source (for example, with bad geometry), they will correct the error and re-run the calculation
* if they don't change the filename of the source model in the source model logic tree file, the inputs are considered to be the same and the old (broken) set of inputs will be reused
* this is very confusing for the users

I think we should remove this feature before the v1.0 release. That means, remove the command line option and also remove the functionality from the engine which deals with identical inputs. We've had way too many bugs with this just in the last few months, and now it's really starting to affect users. We should just get rid of it and replace it with a more well thought out mechanism to reuse inputs from the database. I have drafted a blueprint for this work: https://blueprints.launchpad.net/openquake/+spec/reuse-db-input-models

Changed in openquake:
milestone: none → 1.0.0
importance: Undecided → Critical
description: updated
Changed in openquake:
status: New → Confirmed
Changed in openquake:
assignee: nobody → Lars Butler (lars-butler)
Revision history for this message
Lars Butler (lars-butler) wrote :
Changed in openquake:
status: Confirmed → In Progress
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.