stats collate_worker catchall

Bug #727320 reported by clayg on 2011-03-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Greg Lange

Bug Description

in stats.log_processor.collate_worker, a generic exception in process_one_file will blow up the worker. It would still get logged to stdout if multiprocess and swift.utils.capture_stdio are playing nice together - but p.logger.exception('unable to process %s' % item) would be a lot nicer (stdout exception logging lines get all mixed up). Plus the worker could "continue" on and try the next item in the queue.

Related branches

Greg Lange (greglange) on 2011-04-13
Changed in swift:
assignee: nobody → Greg Lange (greglange)
status: New → In Progress
Thierry Carrez (ttx) on 2011-04-15
Changed in swift:
milestone: 1.3.0 → none
Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-05-31
Changed in swift:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers