View Issue Details

IDProjectCategoryView StatusLast Update
0003223SymmetricDSBugpublic2017-08-14 10:43
ReporterchensonAssigned Tochenson 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.8.28 
Target Version3.8.29Fixed in Version3.8.29 
Summary0003223: Batches that are corrupted on the file system in the outgoing staging area can cause the system to get stuck
DescriptionIf an outgoing batch is corrupt batches preceding it and after it can be stuck because no acknowledgements are sent back. Also, the preceding resource to the corrupt batch is removed from staging.

The fix is to NOT throw an exception from the SimpleStagingDataWriter when a corrupt batch is encountered so that previous batches are processed and acknowledged.

The result on the extract side will be that no acknowledgements come back for batches. Clear staging for any NON reload batches that didn't get an acknowledgement.

Also fixed a bug where the resource needs to be nulled out after a batch commit is processed in the SimpleStagingDataWriter.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 57658ca4

2017-08-12 11:05:27

chenson42

Details Diff
0003223: Batches that are corrupted on the file system in the outgoing
staging area can cause the system to get stuck

0003223
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/model/RemoteNodeStatus.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/IDataExtractorService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/AbstractService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataExtractorService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/FileSyncService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/OfflinePushService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/PushService.java Diff File
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/data/writer/SimpleStagingDataWriter.java Diff File

Issue History

Date Modified Username Field Change
2017-08-12 10:51 chenson New Issue
2017-08-12 10:51 chenson Status new => assigned
2017-08-12 10:51 chenson Assigned To => chenson
2017-08-12 12:00 chenson42 Changeset attached => SymmetricDS 3.8 57658ca4
2017-08-14 08:17 chenson Status assigned => resolved
2017-08-14 08:17 chenson Fixed in Version => 3.8.30
2017-08-14 08:17 chenson Resolution open => fixed
2017-08-14 08:17 chenson Fixed in Version 3.8.30 => 3.8.29
2017-08-14 10:43 chenson Status resolved => closed