Closed GoogleCodeExporter closed 9 years ago
Original comment by jl1615@gmail.com
on 23 May 2009 at 12:00
Fixed 29 May 2009 in Documentum Connector revision r560
I replaced the quite convoluted checkpoint management code with
a new Checkpoint class (derived from the Livelink connector).
The Checkpoint class can parse and format JSON syntax checkoint
strings. It supports direct access to the checkpoint datum
(objectIds, and timeStamps), and supports roll-back, allowing
a checkpoint to be reverted to the previous state.
I then modified DctmTraversalManager and DctmDocumentList to use
the new Checkpoint object rather than the extensive JSON mashing
they were doing in the past. The simplified checkpoint management
dropped nearly 200 lines of code from each of these two classes.
Finally I added a "transient error" check when catching thrown
RepositoryExceptions in a few key locations. By "pinging" the
server, via a call Session.isConnected(), we make a rough guess
as to whether an execption is the result of lost connectivity
with the server. If this is the case, we roll-back the current
Checkpoint, forcing the document that was being processed at
the time of the failure to be retried at a later time.
Original comment by Brett.Mi...@gmail.com
on 31 May 2009 at 2:55
Original comment by jl1615@gmail.com
on 15 Jun 2009 at 8:19
Original issue reported on code.google.com by
jl1615@gmail.com
on 12 Feb 2009 at 9:15