Skip to content

Divergence between CCF testing and IRL testing #7834

Description

@cjen1-msft

Everywhere we have a node join a network, we currently start it with either a copy of the primary's snapshot directory (or after #7832 an empty directory) by default.

Both of these options are not quite right, although #7832 moves us closer.
What we observe is that teams running CCF generally have a snapshots folder from previous iterations of that node.

Hence we should make the following changes:

  • join_node should replicate the snapshot directory of a random node
  • start_in_recovery 's _add_node when passed an existing network should infer which node to start from, and reuse the ledger directories of the previous network.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions