Code Monkey home page Code Monkey logo

Comments (3)

cloudweavers avatar cloudweavers commented on May 10, 2024

The metalogger is offline- you have to restore the metadata to get the metadata.mfs necessary to start a new master. The shadow master is online, and you just change its role by reloading the configuration file to have a live master. Especially if you have lots of file, metadata reconstruction may take time, and this way there is not even that time down.

from lizardfs.

liqiangvip avatar liqiangvip commented on May 10, 2024

Thank you. I have tested the shadow master function.
When master server fails, make the shadow master become master:

  1. Modify the IP of shadow master manually
  2. Change the PERSONALITY value from shadow to master
  3. Reload the configure file by "mfsmaster reload"

from lizardfs.

jamesarems avatar jamesarems commented on May 10, 2024

Hi Liqiangvip,

You are right we can promote shadow as master . But when we are implementing this into production system , if suddenly master server fails , How can we manually switch to this setting as soon as ? Or if we got 1 or 2 minute to setup this shadow to master then what will happen for that offline data that users trying to write on that time? Is there is any HA possibilities available?

from lizardfs.

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.