Uploaded image for project: 'Olio'
  1. Olio
  2. OLIO-70

Loader does not complain if it couldn't load data. Run continues, and results in error messages at runtime, and consequently a failed run.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • rails-loader
    • None
    • n/a

    Description

      MySQL, due to a misconfiguration, was not accepting connections from localhost - but this problem could occur in any scenario where the mysql server is not reachable or configured incorrectly.

      The Rails db loader did not abort the run. Instead it logged the error and went ahead, and this resulted in another slew of errors.

      If data loading fails, then the loader(or driver, I'm not sure how it's invoked) should log an exception and abort the run. There is zero chance of having a successful run if data loading fails.

      Attachments

        Activity

          People

            shanti Shanti Subramanyam
            psriniva Prashant Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: