View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004557 | SymmetricDS | Bug | public | 2020-09-17 19:52 | 2020-09-23 20:34 |
Reporter | elong | Assigned To | elong | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.12.3 | ||||
Target Version | 3.12.4 | Fixed in Version | 3.12.4 | ||
Summary | 0004557: Stream to file, Illegal State Exception: There is no content to read. Memory buffer was empty | ||||
Description | When 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) | ||||
Tags | staging | ||||
SymmetricDS: 3.12 566c33c9 2020-09-21 10:11:00 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 |
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 |