View Issue Details

IDProjectCategoryView StatusLast Update
0003617SymmetricDSBugpublic2018-08-03 14:12
Reportermmichalek Assigned Tommichalek  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.0 
Target Version3.9.10Fixed in Version3.9.10 
Summary0003617: Add better logging and handling for intermittent "Had trouble renaming file" message in the log (3.9 ticket)
DescriptionClustered servers (with cluster.lock.enabled=true) using extract in background and a shared staging location will see sometimes see a message like this in the log:
"Had trouble renaming file. The current name is \\fileserver\symmetric\corp\outgoing\common\0225632988.create and the desired state was DONE"

The theory is that their is contention between the servers (which we guard against with atomic lock files), but the exact cause is not known.

This change adds logging indicating if the target file already exists in this situation, and it's file size and modified time. If the 2 files' byte sizes match, the server will proceed assuming that another process already renamed the file.
TagsNo tags attached.

Relationships

related to 0003616 closedmmichalek Add better logging and handling for intermittent "Had trouble renaming file" message in the log 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.9 b4c2ecc6

2018-06-29 13:17:44

mmichalek

Details Diff
0003617: Add better logging and handling for intermittent "Had trouble
renaming file" message in the log (3.9 ticket)
Affected Issues
0003617
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/StagedResource.java Diff File

Issue History

Date Modified Username Field Change
2018-06-29 17:08 mmichalek New Issue
2018-06-29 17:08 mmichalek Status new => assigned
2018-06-29 17:08 mmichalek Assigned To => mmichalek
2018-06-29 17:08 mmichalek Issue generated from: 0003616
2018-06-29 17:18 mmichalek Status assigned => resolved
2018-06-29 17:18 mmichalek Resolution open => fixed
2018-06-29 17:18 mmichalek Fixed in Version => 3.9.10
2018-06-29 17:19 mmichalek Relationship added related to 0003616
2018-06-29 18:00 mmichalek Changeset attached => SymmetricDS 3.9 b4c2ecc6
2018-08-03 14:12 chenson Status resolved => closed