Code Monkey home page Code Monkey logo

Comments (5)

dhyansraj avatar dhyansraj commented on August 31, 2024

Please see the answers inline.

  1. Why would a node go down? Should I take care to restart it periodically?
    You havent mentioned if the docker containers were still running. We have observed Geth or Constellation goes down sporadically. Could be a stability issue there. This is something we have to get Quorum Team fixed. Have you tried same with 7 node example for few days?

  2. After a restart, all the data on all the contracts should be restored, right?
    public states should sync on restart. Currently constellation can not send offline private transactions. So if any of the nodes part of the privateFor were down, whole transactions would have failed. So Syncing shouldnt have been required.

  3. If a node goes down and comes back, how does the sync process work?

In my case 3 out of 5 nodes were down. The manager node was still up. How would the sync process work in such a case, to restore consensus?

Consensus is managed by Raft. Only nodes up are elected for the each round of vote. And there is no managers in Quorum. If you call the first node in the network, it is just for Quorum Maker.

Where in the actual transaction data in the logs?
Check the gethLog directory in your node. According to the verbose level, it may or may not be logged. You can see the transaction data from web3 console or QM UI.

Is there a script that monitors the nodes and send email in case a node goes down, or even better takes care to restore it?

QM can send email notifications on node failures. Click on the email tab and configure your smtp server.

from quorum-maker.

Eithcowich avatar Eithcowich commented on August 31, 2024

Thank you for the answers.

This: Currently constellation can not send offline private transactions. So if any of the nodes part of the privateFor were down, whole transactions would have failed. So Syncing shouldnt have been required is alarming for our needs.

We have private data on contracts on all our nodes, and some nodes have data is that shared only with the manager node. How do I get this data restored?

from quorum-maker.

Eithcowich avatar Eithcowich commented on August 31, 2024

Answering my own question: I can confirm that taking a node down, and bringing it back up, doesn't cause any loss of data. As expected it's all there. This is true for any of the nodes regardless of privacy.

from quorum-maker.

dhyansraj avatar dhyansraj commented on August 31, 2024

For security reasons, transactions are never sent to non parties in Quorum. Also data is encrypted using public key of peer, so even when multiple parties are part of same transaction, data received is different on each node, so it is not possible to sync when another node comes online. A transaction is mined to the public state only if the participant nodes are online and confirm receipt. A node goes down after a successful private transaction is OK. And all public transactions can be done while any node is offline and will be synced when they come up as in Ethereum.

from quorum-maker.

dhyansraj avatar dhyansraj commented on August 31, 2024

This scenarios are specific to Quorum not QM, so I recommend you post in Quorum Slack, so you can get opinions from others as well.

from quorum-maker.

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.