Problem with restart node after sending query to database.
I find problem with restart node after sending query to database. I prepare scenario, which show this problem in testnet using pytest and test_tools:
- Prepare haf database using scrips available in testing environment.
- Create and run init_node with enabled sql_serializer and set sql to database.
- Close init_node
- Send sql query using SQLAlchemy
- Try to rerun init_node
- Node throw exception:
E TimeoutError: Live mode not activated on time.
In node logs stderr we found:
2023-01-25T10:52:49.270995 indexes_controler.cpp:110 operator() ] Query processor: SELECT hive.disable_fk_of_irreversible();' Saving and dropping of disable fk-s done in 19647.27000000000043656 ms 2023-01-25T10:52:49.271057 indexes_controler.cpp:114 operator() ] The disable fk-s have been dropped...
I think it might be a lead.
I try to replied this bug using testnet init_node build manually, but in this configuration everything work alright.
BRANCH WITH RECOGNIZED PROBLEM: a1b173d4
Edited by Radosław Masłowski