Skip to content

Improve data retrieval process + fix multi-network logic#10

Merged
sergio-mena merged 5 commits intomainfrom
sergio/simplify-retrieval
Feb 1, 2023
Merged

Improve data retrieval process + fix multi-network logic#10
sergio-mena merged 5 commits intomainfrom
sergio/simplify-retrieval

Conversation

@sergio-mena
Copy link
Collaborator

@sergio-mena sergio-mena commented Feb 1, 2023

Contributes to #2

  • Fixes the logic for multi-version networks when the weight of the second version is 0 (i.e., single version network)
  • More flexibility to configure the nodes we will retrieve the block store from
    • A particular name, e.g. "validator01"
    • "any" to retrieve from one full node, chosen from the inventory
    • "all" to retrieve from all nodes (old behavior)

@sergio-mena sergio-mena self-assigned this Feb 1, 2023
@sergio-mena sergio-mena added the rename Renaming our fork label Feb 1, 2023
README.md Outdated
make retrieve-data

#alternatively, you can retrieve the prometheus data and the block store independently
# for the prometheus database
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# for the prometheus database
# of the prometheus database

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, this was a leftover, thanks for spotting

# 12. Once the execution is over, stop the network
make stop-network

# 13. Retrieve the data produced during the execution
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add: "The below command retrieves both the prometheus and block store data". It is not clear from this line that this command includes the two below , only them or them and something else.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Adding

Copy link
Collaborator

@jmalicevic jmalicevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments, good otherwise.

@sergio-mena sergio-mena merged commit 0ac15a5 into main Feb 1, 2023
@sergio-mena sergio-mena deleted the sergio/simplify-retrieval branch February 1, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rename Renaming our fork

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants