Error Handling Multi Thread Processing
Revision as of 06:43, 11 May 2024 by Sven the Barbarian (talk | contribs) (Created page with "= Main record and Record per Thread = * each thread record saves it's status and errorsFound * if any thread has error update a boolean in the main record * must update boolean before processing main record complete * after AwaitingMultipleSteps complete check boolean, if true, main record add errorsFound and status error * eg: ComplexFilter/SearchResult/SortResult/ImportData = Main record and no Record per Thread = * if fixed number of threads could save error from...")
Main record and Record per Thread
- each thread record saves it's status and errorsFound
- if any thread has error update a boolean in the main record
- must update boolean before processing main record complete
- after AwaitingMultipleSteps complete check boolean, if true, main record add errorsFound and status error
- eg: ComplexFilter/SearchResult/SortResult/ImportData
Main record and no Record per Thread
- if fixed number of threads could save error from each thread into main record errorsFound
- otherwise, if any thread has error update a boolean in the main record
- must update errorsFound/boolean before processing main record complete
- after AwaitingMultipleSteps complete check errorsFound/boolean, if true, main record add errorsFound and status error
- eg: Image upload checking multiple Account Limits