stats collate_worker catchall

Bug #727320 reported by clayg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Medium
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.

Tags: stats

Related branches

Greg Lange (greglange)
Changed in swift:
assignee: nobody → Greg Lange (greglange)
status: New → In Progress
Thierry Carrez (ttx)
Changed in swift:
milestone: 1.3.0 → none
Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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