View Issue Details

IDProjectCategoryView StatusLast Update
0004557SymmetricDSBugpublic2020-09-23 20:34
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.3 
Target Version3.12.4Fixed in Version3.12.4 
Summary0004557: Stream to file, Illegal State Exception: There is no content to read. Memory buffer was empty
DescriptionWhen stream.to.file.enabled=true, there is an occasional error with invalid state of cached staged resources. The batch resource is extracted by one thread, given a state of DONE, and put into the staging manager's cache. The same process will start another thread to send the batch, retrieve it from staging manager, but the state is still CREATE.

[store-003] - DataExtractorService - Failed to extract batch 006-1991 java.lang.IllegalStateException: There is no content to read. Memory buffer was empty and /home/elong/support/312-store3/tmp/store-003/outgoing/common/991/0000001991.create was not found.
    at org.jumpmind.symmetric.io.stage.StagedResource.getReader(StagedResource.java:246)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.transferFromStaging(DataExtractorService.java:1481)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.sendOutgoingBatch(DataExtractorService.java:1440)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.extract(DataExtractorService.java:789)
    at org.jumpmind.symmetric.service.impl.DataExtractorService.extract(DataExtractorService.java:577)
    at org.jumpmind.symmetric.service.impl.PushService.pushToNode(PushService.java:206)
    at org.jumpmind.symmetric.service.impl.PushService.execute(PushService.java:167)
    at org.jumpmind.symmetric.service.impl.NodeCommunicationService$1.run(NodeCommunicationService.java:519)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Tagsstaging

Relationships

related to 0004517 closedelong Stream to file threshold, Illegal State Exception: There is no content to read. Memory buffer was empty 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 566c33c9

2020-09-21 10:11:00

admin

Details Diff
0004557: Stream to file, Illegal State Exception: There is no content to
read. Memory buffer was empty
Affected Issues
0004557
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/ErrorConstants.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataExtractorService.java Diff File
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/IStagedResource.java Diff File
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/StagedResource.java Diff File
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/StagingManager.java Diff File

Issue History

Date Modified Username Field Change
2020-09-17 19:52 elong New Issue
2020-09-17 19:52 elong Status new => assigned
2020-09-17 19:52 elong Assigned To => elong
2020-09-17 19:52 elong Tag Attached: staging
2020-09-17 19:53 elong Relationship added related to 0004517
2020-09-21 14:11 elong Status assigned => resolved
2020-09-21 14:11 elong Resolution open => fixed
2020-09-21 14:11 elong Fixed in Version => 3.12.4
2020-09-21 15:00 admin Changeset attached => SymmetricDS 3.12 566c33c9
2020-09-23 20:34 admin Status resolved => closed