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

node api becomes unresponsive while the node zips chain_data #20

Open
bladedoyle opened this issue Dec 13, 2020 · 0 comments
Open

node api becomes unresponsive while the node zips chain_data #20

bladedoyle opened this issue Dec 13, 2020 · 0 comments
Labels
Grin-Node Test cases for GRIN-Node ready-for-test Ready to be assigned and be worked on Test-Case New test case

Comments

@bladedoyle
Copy link
Collaborator

bladedoyle commented Dec 13, 2020

Problem:
The node becomes unresponsive during "grin_util::zip - compress" of chain data. The api does not respond while that zip is running.

Testcase:
Query the api at regular intervals (10 seconds) and display errors for API timeouts. The loop should print timestamps and indicate when there is a read timeout.
Wait and watch the nodes logs until there is a chain_data zip event. ex:
20201213 17:27:08.412 INFO grin_util::zip - compress: "/home/ubuntu/.grin/main/chain_data/txhashset_zip_000064e2beb9/kernel/pmmr_data.bin" -> "kernel/pmmr_data.bin"

Expected Result:
There should not be any api timeouts while the compress is running.

Actual Result:
The api times out
Error: HTTPConnectionPool(host='127.0.0.1', port=3413): Read timed out. (read timeout=20)

@marekyggdrasil marekyggdrasil added Grin-Node Test cases for GRIN-Node ready-for-test Ready to be assigned and be worked on Test-Case New test case labels Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grin-Node Test cases for GRIN-Node ready-for-test Ready to be assigned and be worked on Test-Case New test case
Projects
None yet
Development

No branches or pull requests

2 participants