View Issue Details

IDProjectCategoryView StatusLast Update
0003162SymmetricDSBugpublic2017-06-19 18:41
Reportermaxwellpettit Assigned Tomaxwellpettit  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.8.25 
Target Version3.8.26Fixed in Version3.8.26 
Summary0003162: Empty batches are created on load when using subselect router
DescriptionWhen performing a load using a subselect router, if multiple batches are created then the MultiBatchStagingWriter may create empty batches in staging that will throw an error.

2017-06-15 13:23:50,026 ERROR [server] [DataProcessor] [server-extract-default-17] StackTraceKey.init [SymmetricException:2783255605]
org.jumpmind.symmetric.SymmetricException: 'table' cannot null while starting new batch. Batch: beval123-56524. Check trigger/router configs.
    at org.jumpmind.symmetric.service.impl.MultiBatchStagingWriter.startNewBatch(MultiBatchStagingWriter.java:238)
    at org.jumpmind.symmetric.service.impl.MultiBatchStagingWriter.close(MultiBatchStagingWriter.java:96)
    at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.close(NestedDataWriter.java:48)
    at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.close(NestedDataWriter.java:48)
    at org.jumpmind.symmetric.io.data.DataProcessor.close(DataProcessor.java:243)
    at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:149)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.extractOutgoingBatch(DataExtractorService.java:882)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.execute(DataExtractorService.java:1492)
    at org.jumpmind.symmetric.service.impl.NodeCommunicationService$1.run(NodeCommunicationService.java:499)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 e5428593

2017-06-19 13:59:01

maxwellpettit

Details Diff
0003162: Empty batches are created on load when using subselect router Affected Issues
0003162
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/MultiBatchStagingWriter.java Diff File

Issue History

Date Modified Username Field Change
2017-06-19 17:58 maxwellpettit New Issue
2017-06-19 17:58 maxwellpettit Status new => assigned
2017-06-19 17:58 maxwellpettit Assigned To => maxwellpettit
2017-06-19 18:00 maxwellpettit Changeset attached => SymmetricDS 3.8 e5428593
2017-06-19 18:00 maxwellpettit Status assigned => resolved
2017-06-19 18:00 maxwellpettit Fixed in Version => 3.8.26
2017-06-19 18:00 maxwellpettit Resolution open => fixed
2017-06-19 18:41 chenson Status resolved => closed