Upload problem on Windows (64bit) with replicationType 100

6 views
Skip to first unread message

André Basse

unread,
Feb 7, 2013, 1:24:20 AM2/7/13
to weed-fil...@googlegroups.com
Hi,

Has anyone experienced any upload problems on Windows(64bit) with replicationType 100?

The Upload function in upload_content.go throws an error when it tries to upload the file to the replication server:

"WSARecv tcp - An existing connection was forcibly closed by the remote host."

This is happening for 2-3 files out of 50. (The files are all ok and the network connection is stable...)


Thanks,

Andre




Chris Lu

unread,
Feb 7, 2013, 1:59:34 AM2/7/13
to weed-fil...@googlegroups.com
How to reproduce this? Are you running some load testing?

Chris

André Basse

unread,
Feb 7, 2013, 8:24:41 PM2/7/13
to weed-fil...@googlegroups.com
Hi Chris,

I tried to create a testcase today but I can't create a reproducible scenario. Sometime it works fine sometimes it fails.
I checked the file sizes, there are ranging from 50KB to 19MB, no pattern here for the error.

Here is my server config and the command line calls for the server

<Configuration>
    <Topology>
      <DataCenter name="dc1">
        <Rack name="rack1">
          <Ip>172.24.130.226</Ip>
        </Rack>
       </DataCenter>    
      <DataCenter name="dc2">
       <Rack name="rack1">
          <Ip>172.16.153.61</Ip>
        </Rack>
      </DataCenter>
    </Topology>
  </Configuration>

Master on 172.24.130.226
weed.exe master -mdir="c:\weedfs\bin" -conf="c:\weedfs\bin\weedfs.conf" -defaultReplicationType=100 -debug=true

Volume on 172.24.130.226
weed.exe volume -ip="172.24.130.226" -port=8081 -dir="c:\weedfs\data1" -max=500 -mserver="172.24.130.226:9333" -debug=true

Volume on 172.16.153.61
weed.exe volume -ip="172.16.153.61" -port=8082 -dir=c:\temp\weedfs\data -max=500 -mserver="172.24.130.226:9333" -debug=true

You can find the Windows Weed binary here:
http://db.tt/sU0dCAfA


Based on some discussions on the golang forums this could be a Windows problem only.
As a workaround for my Windows setup I will try to add a retry to the upload function.


Cheers,

Andre
Reply all
Reply to author
Forward
0 new messages