Skip to content

SergeyMagid/vertx-reproducer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vertx-reproducer

It`s a two simple applications for help to reproduce bug.
simple-spring-boot-node - has handler for make response to check is node still live
monitoring - contains periodic timer which sends every 2 sec event to check is node still live. and simple html page for help monitoring status at port 8082

Steps.

  1. Build all mvn clean install.
  2. Run two nodes of simple-spring-boot-node :
    cd simple-spring-boot-node/
    java -jar target/vertx-spring-boot-service-1.0-SNAPSHOT-fat.jar -cluster -conf channel1.conf
    java -jar target/vertx-spring-boot-service-1.0-SNAPSHOT-fat.jar -cluster -conf channel2.conf
  3. Run one monitoring
    cd monitoring/
    java -jar java -jar target/monitoring-1.0-SNAPSHOT-fat.jar -cluster -conf monitoring.conf

You can check simple html page at localhost: 8082. Where you can see some stuff received from simple-spring-boot-node and see simple table with last node status. At this stage at html all green and success. Any timeout errors at logs.

  1. Next. Look for PID of started java apps.
    $ ps ax | grep vertx-spring-boot-service

  2. Terminate kill this nodes, so should left only monitoring node
    kill -9 PID1 PID2

  3. Start this nodes again. (step 2)

  4. Wait minutes and check logs in console - time to time you can see (TIMEOUT,-1) Timed out waiting for reply And this never end. At monitoring this issues will marked as unstable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published