Hi,
I wonder what would be the recommended way to stop processing from a slave when a given (wrong) condition is found in a selector.
Thanks,
Isidro
Hi,
I wonder what would be the recommended way to stop processing from a slave when a given (wrong) condition is found in a selector.
Thanks,
Isidro
Hi Isidro,
You can call the TSelector::Abort(…) functions inside the TSelector, either to stop processing
Abort("Stop full processing", kAbortProcess);
or to skip the file
Abort("Skip this file", kAbortFile);
Hope it helps.
Gerri
HI Gerri,
Thanks a lot. I think this is what I was looking for. Will this stop all slaves or just the one “aborting”?
Cheers,
Isidro
Hi Isidro,
[quote=“iglez”]Will this stop all slaves or just the one “aborting”?
[/quote]
Only the one aborting, as it is now. The slave will be gone, but in the PROOF spirit processing continues with the others.
Not sure how difficult wouldbe to add an option to stop the full query if one slave goes.
Cheers,
Gerri