Coder Social home page Coder Social logo

Comments (8)

kmlebedev avatar kmlebedev commented on June 1, 2024

See #3059

from seaweedfs.

dyeldandi avatar dyeldandi commented on June 1, 2024

@kmlebedev thanks, but AFAIU #3630 has been already merged into version I'm running, so probably a different issue?

from seaweedfs.

kmlebedev avatar kmlebedev commented on June 1, 2024

@kmlebedev thanks, but AFAIU #3630 has been already merged into version I'm running, so probably a different issue?

You need to make sure that the contents of vol_dir.uuid are different and that you have not manually copied these files from one directory to another

from seaweedfs.

dyeldandi avatar dyeldandi commented on June 1, 2024

Yeah, they are definitely different.
1st is 9322c3e6-f8e4-4a53-9129-902e5b24bdb3
2nd is a9ced06f-a886-40d9-942e-73bf40cf5d74
the volume servers run fine for a week or two then one of them suddenly shuts down.

from seaweedfs.

kmlebedev avatar kmlebedev commented on June 1, 2024

It may be that you accidentally launch a second instance of weed volume at this time, which will erase the same folder with the file vol_dir.uuid

from seaweedfs.

dyeldandi avatar dyeldandi commented on June 1, 2024

I really doubt it. Nobody logged in on that server for a few months before it crashed. There is nothing in the logs that would indicate this case. Besides, every time it crashes like this there is a failed heartbeat just a few seconds before. E.g.

I0330 07:05:18.266249 volume_grpc_client_to_master.go:71 heartbeat to MASTER_IP_ADDRESS:9333 error: rpc error: code = Unavailable desc = error reading from server: EOF

from seaweedfs.

kmlebedev avatar kmlebedev commented on June 1, 2024

Heartbeat fails already in the process of stopping the revolutionary server.
Look in the logs on master server there is a message below:

volume: Duplicated volume directories were loaded
directory of %s on %s has been loaded
image

from seaweedfs.

dyeldandi avatar dyeldandi commented on June 1, 2024

There is no such message in the logs (I checked both volume and master servers)
Only this one from volume server that mentions duplicity:

E0330 07:05:25.166441 volume_grpc_client_to_master.go:130 Shut down Volume Server due to duplicate volume directories: [/VOLUME/DIRECTORY]

And master reports that directory has been loaded without mentioning duplicated volumes

I0330 07:05:25.135336 master_grpc_server.go:138 added volume server 1: VOLUMESERVER1_IP_ADDRESS:8071 [9322c3e6-f8e4-4a53-9129-902e5b24bdb3]
E0330 07:05:25.136146 master_grpc_server.go:40 directory of 9322c3e6-f8e4-4a53-9129-902e5b24bdb3 on VOLUMESERVER1_IP_ADDRESS:8071 has been loaded

from seaweedfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.