Closed GoogleCodeExporter closed 8 years ago
Original comment by donald.z...@gmail.com
on 18 Apr 2008 at 10:28
Fixing this issue required the following:
1) Remove the connector from the connectorCache in
SpringInstantiator.setConnectorConfig(). This forces a subsequent call to
getConnectorInterfaces() to create and cache a new ConnectorInterfaces item for
the
new (modified) connector.
2) Do not cache the Traverser in WorkQueueItem. Forcing WorkQueueItem.doWork()
to
fetch the Traverser from the Instatiator each invocation allows the next batch
of
work to use the new (updated) Traverser.
3) Synchronizing certain methods in SpringInstantiator. Since multiple threads
were
accessing the SpringIntantiator's connectorCache, instanceMap, and typeMap, we
were
seeing evidence that some of the threads were seeing inconsistent states of
these
separate maps. Synchronizing access to these three items seems to have
eliminated
the stale connectors and traversers we were seeing.
Original comment by Brett.Mi...@gmail.com
on 2 May 2008 at 2:49
Fixed in revision r805 which also addresses issue 35 and issue 60 .
Original comment by Brett.Mi...@gmail.com
on 25 May 2008 at 2:15
Original comment by mgron...@gmail.com
on 19 Jun 2008 at 6:35
Original issue reported on code.google.com by
jl1615@gmail.com
on 7 Nov 2007 at 11:28