Git Product home page Git Product logo

Comments (3)

patrickkuo avatar patrickkuo commented on June 15, 2024

Here is a summary of the problem:

Symptoms:
Nodes will not startup except the node running the network map service.

How to reproduce the problem:
Setup: Node A, Node B, Notary(with Network Map Service)
There are 2 ways to reproduce the problem.

  1. Startup the nodes in this sequence quickly (node A, node B, Notary), sometime Node A and Node B will fail to start.

  2. Startup all the node normally (Notary -> NodeA -> Node B) and allow time between each startup.
    Nodes should start without any problem. Now shutdown all nodes and start them up again one by one. Node A and Node B will no longer be able to connect to the Notary.

Workaround:
Remove artemis folder and persistence.mv.db from the node hosting the network map service and restart the nodes will fix the problem.

from corda.

patrickkuo avatar patrickkuo commented on June 15, 2024

Found the bug!

In ArtemisMessagingServer we add a call back handler to the artemis server to create bridges for the queues. However the handler registration happen after the queues restoration, so all the existing queue won't have a bridge after server restart.

The fixes is in this branch, https://github.com/corda/corda/tree/pat-node-startup-fix

Will raise a PR after written a unit test for this.

from corda.

patrickkuo avatar patrickkuo commented on June 15, 2024

The fix for this issue has been merged into master.

from corda.

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.