HBASE-26984 Chaos Monkey thread dies in ITBLL Chaos GracefulRollingRe… - #4383
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
| getLogger().info("Starting region server: {}", server); | ||
| startRs(server); | ||
| + // Sleep 2 seconds to make sure RS is online. | ||
| + sleep(2000); |
There was a problem hiding this comment.
Just figured that sleepTime is less than 1 second, so I think that is the perfect sleep time. Adding one more configuration is probably too much, what do you think? Thanks.
There was a problem hiding this comment.
Yeah, and I just realised we already have similar hardcoded sleep calls elsewhere in this code, so I guess this extra one is inline with that approach.
…startRsAction
There are two cases here:
1. Chaos Monkey thread died and there is no chaos after that.
2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet.
wait sometime to make sure that region server finishes its initialization.
28ceac3 to
af7f84f
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Hi @wchevreuil, does the new patch look good to you? |
…startRsAction (apache#4383) There are two cases here: 1. Chaos Monkey thread died and there is no chaos after that. 2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet. wait sometime to make sure that region server finishes its initialization. Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
…startRsAction (apache#4383) There are two cases here: 1. Chaos Monkey thread died and there is no chaos after that. 2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet. wait sometime to make sure that region server finishes its initialization. Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
…startRsAction (#4383) (#4408) There are two cases here: 1. Chaos Monkey thread died and there is no chaos after that. 2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet. wait sometime to make sure that region server finishes its initialization. Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
…startRsAction (#4383) (#4409) There are two cases here: 1. Chaos Monkey thread died and there is no chaos after that. 2. Sometimes, regions are being moved back too quick that region server has not finished its initliazation yet. wait sometime to make sure that region server finishes its initialization. Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
…startRsAction
There are two cases here:
wait sometime to make sure that region server finishes its initialization.