Error Handling Multi Thread Processing: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 06:43, 11 May 2024

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