Changes between Version 24 and Version 25 of Internal/InventoryV3


Ignore:
Timestamp:
May 19, 2010, 6:14:35 PM (15 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v24 v25  
    66
    77 * Gather:0.87
    8  * Writer:0.98
     8 * Writer:0.99
    99
    1010It's plan is to be simpler and less ambitious than it's predecessor, but still respect the sql table structure ("as much as possible.")
     
    269269 * the mb_id information was moved from Identify to check_sql since it's dynamic and properly belongs there. Identify no longer has a
    270270   mb_id method.
     271
     272=== 5/19/2010 ===
     273
     274Adding Error handling and logging to the writer script:
     275
     276 * the require 'logger' + code to actually log Info and errors is now in place
     277 * For the Db.connect method I've added a begin/rescue/end block. It sleeps for 60 + rand(60) seconds then tries to connect again,
     278   but'll I'll have to fine tune its behavior to only reconnect when It can't reach instead of reconecting every time. it Also logs
     279   how long it's going to wait until it tries again.
     280 * Jack is stripping things for gatherer but we'll eventually merge that code.
     281 * there are 5 places where I need to try and catch exceptions, most of the other exceptions I want to go unhanded so it terminates:
     282   I'll need to put in a bunch of debug loggin to make sure my data is what I think it is.
     283