Closed GoogleCodeExporter closed 8 years ago
Original comment by mobe...@gmail.com
on 18 Apr 2008 at 10:40
Thank you for reporting this issue. I finally have a test case that can
reproduce
this and I'm working on a solution. As your proposed solution would indicate
this is
a threading issue. It turns out the DocPusher.take() method is not thread safe
in a
couple of ways which need to be addressed.
Original comment by mgron...@gmail.com
on 6 May 2008 at 5:01
r787 | mgronber | 2008-05-07 10:32:20 -0700 (Wed, 07 May 2008) | 15 lines
Fix Issue 75 - Http 400 Error Thrown For Correct Feeds (when using multiple
connectors)
This was related to the DocPusher.take() method not being thread-safe. I have
removed the use of several instance fields (xmlData, dataSource, and feedType)
from the method and moved the new feedLogRecord into a ThreadLocal.
I have also removed the lazy evaluation and potential DCL problem from the
GsaFeedConnection.
It should be noted that the retrieval of the GsaResponse instance field is not
thread-safe, however, it is only used from tests.
Tested with 2 connectors each feeding 600 documents and no problems.
Original comment by mgron...@gmail.com
on 7 May 2008 at 5:35
Original comment by mgron...@gmail.com
on 19 Jun 2008 at 6:35
Original issue reported on code.google.com by
andree.j...@googlemail.com
on 15 Apr 2008 at 11:10