Coder Social home page Coder Social logo

exception last prims not consistent about galera HOT 2 CLOSED

temeo avatar temeo commented on August 22, 2024
exception last prims not consistent

from galera.

Comments (2)

dirtysalt avatar dirtysalt commented on August 22, 2024

I speculate this problem maybe related to early flawed implementation of pc recovery. (I'm not sure in this case, pc.recovery feature is used or not).

For convenience of expression, we label each node
79dcfbbc A
7cfbf591 B
7da57d09 C
7ccb744c D (the log we are reading belongs to this node)

I guess the whole process would be:

  • first three nodes A,B,C join and form pc. we can tell that from each node's node_map structure before crash. B and C node_map has the same last_prim view_id(PRIM,79dcfbbc,2)
  • then these three nodes join with D and other four nodes. We can tell that from the first view delivery in log.
  • then A loses connection to B and C. I guess A should become non-primary component, BC should still be primary component.
  • B, C join with D again. We can tell that from the second view delivery in log.
  • I guess A should join with other four nodes, because we can tell that from each node's node_map structure before crash because those nodes have same last_prim view_id(PRIM,79dcfbbc,4). __So the question is why A and other four nodes could become primary component, and I guess the one explanation would be pc.recovery helps that. __

Early implementation of pc recovery:

  • rst_view is cleared when pc recovery qualification is meet and after calling send_install, not but when primary component is formed.
  • state file is not removed event when graceful shutdown.

from galera.

ayurchen avatar ayurchen commented on August 22, 2024

Yan, if you think new implementation fixes this bug, you can probably close it.

from galera.

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.