View Issue Details

IDProjectCategoryView StatusLast Update
0003616SymmetricDSBugpublic2018-07-23 11:13
ReportermmichalekAssigned Tommichalek 
Prioritynormal 
Status closedResolutionfixed 
Product Version3.8.31 
Target Version3.8.37Fixed in Version3.8.37 
Summary0003616: Add better logging and handling for intermittent "Had trouble renaming file" message in the log
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.

Relationships

related to 0003617 closedmmichalek Add better logging and handling for intermittent "Had trouble renaming file" message in the log (3.9 ticket) 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 475a6c72

2018-06-29 13:07:11

mmichalek

Details Diff
0003616: Add better logging and handling for intermittent "Had trouble
renaming file" message in the log

0003616
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 13:06 mmichalek New Issue
2018-06-29 13:06 mmichalek Status new => assigned
2018-06-29 13:06 mmichalek Assigned To => mmichalek
2018-06-29 13:07 mmichalek Status assigned => resolved
2018-06-29 13:07 mmichalek Resolution open => fixed
2018-06-29 13:07 mmichalek Fixed in Version => 3.8.37
2018-06-29 13:08 mmichalek Issue cloned: 0003617
2018-06-29 13:19 mmichalek Relationship added related to 0003617
2018-06-29 14:00 mmichalek Changeset attached => SymmetricDS 3.8 475a6c72
2018-07-23 11:13 mmichalek Status resolved => closed