Skip to content

Check if nodes participate in SCP for uptime stats #49

@bartekn

Description

@bartekn

Currently we make a simple connection to the node to check if it's up. It means that even if something is broken but the node accepts incoming connections it's status will be saved as up.

The easiest idea I have is to:

  1. Create a new monitoring stellar-core instance.
  2. Generate the config file using nodes.js file, add all nodes to quorum set. Remove history entries (except local one that will obviously do nothing).
  3. Check /quorum endpoint missing field. If a node is there it means it's down.
  4. Regenerate a config file with new nodes every X hours. If the list has changed, restart core.

Questions:

  • What will happen when len(missing)>fail_at? Does the node continue updating quorum information?
  • Will it continue to work with, say, 200 nodes in quorum set? I tested this with 39 nodes we currently have in the Dashboard and it's been working fine (for a couple minutes so far).

CC: @MonsieurNicolas @vogel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions