Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken connection when running single genesis validator and registering new validators by SFC #303

Open
matejmode opened this issue Dec 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@matejmode
Copy link
Collaborator

When network is running with just a single genesis validator, then it doesn't want to allow connection of new validators registered by SFC and network halts.

Network stops processing transactions ~20 seconds after validator-A gets added.

name: Network Halt

duration: 6000

# The number of genesis validator nodes in the network.
num_validators: 1

# The network scenario to exercise.
nodes:
  # Change the number of nodes during the scenario.
  - name: validator-A
    start: 20
    instances: 1
    client:
      type: validator


# In the network there is a single application producing constant load.
applications:
  - name: load
    type: counter
    start: 10           # start time
    end: 5700            # termination time
    users: 20           # number of users / accounts generating txs
    rate:
      constant: 100     # Tx/s

Setting genesis number of validators to 2 (or more) fixes this problem.

@matejmode matejmode added the enhancement New feature or request label Dec 9, 2024
@kjezek
Copy link
Collaborator

kjezek commented Dec 9, 2024

Is the problem caused by the first validator loosing quorum before the added validator gets a voting power?

@matejmode
Copy link
Collaborator Author

matejmode commented Dec 9, 2024

Quorum shouldn't be lost during an epoch - it changes only at epoch sealing. Epoch sealing shouldn't happen, because with this transaction load and config it should take 5min++.

So either epoch is sealed if new validator is considered cheater or something else goes wrong.

@matejmode matejmode added bug Something isn't working and removed enhancement New feature or request labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants