[samigo-team] Auto Submit Job Patch
Bryan Holladay
holladay at longsight.com
Tue Apr 16 06:10:35 PDT 2013
Team,
I have attached a patch to https://jira.sakaiproject.org/browse/SAM-2128
The issue we've been seeing with the auto submit job is that when there is
a single submission that throws an error, the entire job can not finish
until this is resolved manually in the DB. The queue will continue to
build up until someone notices it.
This patch changes the bulk save approach and does an individual save
wrapped in try/catch in order for the job to continue despite a single
submission error. The bulk approach actually uses a deprecated hibernate
method "saveOrUpdateAll", which Hibernate doesn't recommend using anyways.
I've tested this locally and this code will end up in a few of our clients
production instances, so we will have a good understanding of it's impact
before the 2.10 release.
Could someone review this patch or would you just like me to commit it to
trunk myself?
Thanks,
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/samigo-team/attachments/20130416/aa477faa/attachment.html
More information about the samigo-team
mailing list