-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
A-jormungandrArea: Issues affecting jörmungandrArea: Issues affecting jörmungandrbugSomething isn't workingSomething isn't working
Description
Describe the bug
Rest do not respond for ~30 sec after rebooting with leaders having assigned block.
Passive node work fine this problem is only with leader having assigned block.
Mandatory Information
- jcli 0.8.14 (HEAD-9ca427ef, release, linux [x86_64]) - [rustc 1.41.1 (f3e1a954d 2020-02-24)]
- jormungandr 0.8.14 (HEAD-9ca427ef, release, linux [x86_64]) - [rustc 1.41.1 (f3e1a954d 2020-02-24)]
To Reproduce
Steps to reproduce the behavior:
- Make sure that the leader has blocks assigned more the block better to reproduce.
- Reboot the node with secrete file
- Start the script to monitor the node
./jcli rest v0 node stats get --host "http://127.0.0.1:<rest port./api"|grep "version|state|lastBlockDate|lastBlockHeight|lastBlockTime|uptime|lastBlockHash" - Start the script to delete the leader with 1 sec interval
watch -n 1 /jcli rest v0 leaders delete 1 --host "http://127.0.0.1:/api" - Monitoring will show the status: Bootstrapping but as soon as the node is bootstrapped, the rest stop responding for ~30sec and do not delete for 30sec
(this issue created the adversarial fork as backup not failed to delete the leaders)
Expected behavior
leader is deleted within a second of bootstraping.
Additional context
If this issue is not resolvable , there should be option in config file to avoid the leaders in enclave after rebooting but load the leader schedule.
Metadata
Metadata
Assignees
Labels
A-jormungandrArea: Issues affecting jörmungandrArea: Issues affecting jörmungandrbugSomething isn't workingSomething isn't working