iri icon indicating copy to clipboard operation
iri copied to clipboard

Turn on and off a node

Open GalRogozinski opened this issue 5 years ago • 4 comments

Description

Simply turn off a node after a certain amount of time

Motivation

If the node manages to turn itself off without an error then all is fine, else we have a regression. Currently Travis finds those issues and aloe needs to do it as well

Issues / Scenarios

Node can be turned on and off without an error

How to test for this

Just sleep for (X). We already have a step in the pipeline that will later check for errors.

GalRogozinski avatar Jan 22 '20 17:01 GalRogozinski

Rarely a node shuts down with a SEGFAULT from rocksdb, how would we handle this? As of yet i have no idea what is causing this....

kwek20 avatar Jan 22 '20 17:01 kwek20

I didn't look at the core reason but it seems like rocksdb doesn't like being killed while writing to the db... shocking I know

GalRogozinski avatar Jan 22 '20 17:01 GalRogozinski

This also happens with a gracefull shutdown, that should wait for pending ops right?

kwek20 avatar Jan 22 '20 18:01 kwek20

If we wait long enough it doesn't We can start the test with a long sleep and decrease it after #1576 is done

GalRogozinski avatar Jan 22 '20 18:01 GalRogozinski