Giter Site home page Giter Site logo

Comments (2)

sanikolaev avatar sanikolaev commented on May 26, 2024

I've prepared this PR #1729

Can you please elaborate more on the gmcast.segment=20 approach: how can it be done in Manticore Search? What commands on what nodes and in what order should be executed?

from manticoresearch.

tomatolog avatar tomatolog commented on May 26, 2024

The idea of the point 5 is to make separation of the old and new nodes at the cluster. That could be done by assign another gmcast.segment value for the new nodes.
I was sure that command

SET CLUSTER a GLOBAL 'gmcast.segment' = 20;

does that. However after test I see it returns error that gmcast.segment can not be changed in runtime. That means the node needs to join with this option set. However as we do not have command that remove node from cluster now such scenario looks not very friendly due to many manual steps:

  • user should stop the node
  • remove cluster property from the manticore.json to prevent node rejoin the cluster on start
  • upgrade daemon package
  • start the node
  • after node started issue cluster join with the Galera options
join cluster CLUSTER_NAME at 'ADDRESS:PORT' 'gmcast.segment=20' as options

this way the new nodes will form another segment at the cluster and will not be selected as donor for old nodes and will not push index with the new format into the old daemons.

After all nodes got upgraded it could be better to remove gmcast.segment option to reduce possible clutter in the cluster management. That also could be done now only after node got stopped and manually edit manticore.json deleting the options property.

Maybe we should not to mention point 5 and suggest to upgrade the cluster via full cluster restart described at our manual

from manticoresearch.

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.