View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003057 | SymmetricDS | Bug | public | 2017-04-15 09:10 | 2019-04-26 14:47 |
Reporter | maneeshk | Assigned To | |||
Priority | high | ||||
Status | closed | Resolution | no change required | ||
Product Version | 3.8.16 | ||||
Summary | 0003057: Immediately after node registration, synchronization is not happening for some specific files | ||||
Description | We are running the SymmetricDS instances and all nodes in linux VMs at both source and destination. All the nodes are connected to MySQL databases instances running locally in respective linux VMs. It is being observed that immediately after node registration, synchronization is not happening for some specific files. | ||||
Steps To Reproduce | 1. Node group link: data_event_action='W'. 2. Channel: filesync. 3. Router: default. 4. File trigger: recurse is set, and include_files=* 5. File trigger router: initial_load_enabled is SET. | ||||
Additional Information | The file with name "all-wcprops" is giving issue whereas the other file with name "entries" present in the same directory is getting synchronized. The stat information about both the above mentioned file is as mentioned below. [root@symds1 engines]# ls -l /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops -r-xr-xr-x 1 root root 1021 Apr 15 2015 /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops [root@symds1 engines]# stat /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops File: â Size: 1021 Blocks: 8 IO Block: 16384 regular file Device: 24h/36d Inode: 1125899906842864 Links: 1 Access: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2015-07-01 16:06:15.749692200 +0530 Modify: 2015-04-15 14:56:25.440039900 +0530 Change: 2016-12-13 18:08:35.598127000 +0530 Birth: - [root@symds1 engines]# ls -l /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/entries -r-xr-xr-x 1 root root 1124 Apr 15 2015 /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/entries [root@symds1 engines]# stat /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/entries File: â Size: 1124 Blocks: 8 IO Block: 16384 regular file Device: 24h/36d Inode: 1125899906842865 Links: 1 Access: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2015-07-01 16:06:15.765292200 +0530 Modify: 2015-04-15 14:56:25.424414900 +0530 Change: 2016-12-13 18:08:35.629327000 +0530 Birth: - [root@symds1 engines]# | ||||
Tags | file sync | ||||
|
Synchronization is not happening for these below mentioned five(5) files. 1. /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops 2. /mnt/feDir/fonts/.svn/all-wcprops 3. /mnt/feDir/html/App_LocalResources/.svn/all-wcprops 4. /mnt/feDir/resources/.svn/all-wcprops 5. /mnt/feDir/resources/.svn/text-base/PIE.htc.svn-base |
|
Sym log at source and destination are as given below. symds1 2017-04-13 21:18:36,453 ERROR [puneFS1-001] [AcknowledgeService] [qtp25548982-20] The outgoing batch 002-8 failed: /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops (Permission denied) symds2 2017-04-13 21:19:37,465 ERROR [noidaFS1-002] [FileSyncService] [noidafs1-002-file_pull-default-1] Failed to process file sync batch 8 StackTraceKey.init [FileNotFoundException:3030134314] java.io.FileNotFoundException: /mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn/all-wcprops (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162) at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:1139) at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1091) at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at bsh.Reflect.invokeMethod(Reflect.java:134) at bsh.Reflect.invokeStaticMethod(Reflect.java:98) at bsh.Name.invokeMethod(Name.java:874) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java:51) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java:48) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java:48) at bsh.Interpreter.eval(Interpreter.java:645) at bsh.Interpreter.eval(Interpreter.java:739) at bsh.Interpreter.eval(Interpreter.java:728) at org.jumpmind.symmetric.service.impl.FileSyncService.processZip(FileSyncService.java:914) at org.jumpmind.symmetric.service.impl.FileSyncService.pullFilesFromNode(FileSyncService.java:1023) at org.jumpmind.symmetric.service.impl.FileSyncService.execute(FileSyncService.java:769) at org.jumpmind.symmetric.service.impl.NodeCommunicationService$1.run(NodeCommunicationService.java:499) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2017-04-13 21:19:38,131 INFO [noidaFS1-002] [FileSyncService] [noidafs1-002-file_pull-default-1] There was a failure while pulling files from 001. 100 files and 2 batches were processed |
|
This looks like a file/directory permission problem. SymmetricDS at the symds2 target doesn't have permission to write to the parent directory there (/mnt/feDir/App_WebReferences/NoidaCorporateWebService/.svn). |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-15 09:10 | maneeshk | New Issue | |
2017-04-15 09:11 | maneeshk | Note Added: 0001007 | |
2017-04-15 09:14 | maneeshk | Note Added: 0001008 | |
2019-04-24 14:56 | elong | Tag Attached: file sync | |
2019-04-26 14:46 | elong | Note Added: 0001448 | |
2019-04-26 14:47 | elong | Status | new => closed |
2019-04-26 14:47 | elong | Resolution | open => no change required |