yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.88k stars 1.05k forks source link

[platform] Add node hangs while load balancing if a node is released after being stopped (not removed) #4583

Open Arnav15 opened 4 years ago

Arnav15 commented 4 years ago

This is potentially due to the loadbalancer wanting to move data, but since the node was not blacklisted, there is no data to move, causing no action to occur and the loadbalancer not returning a success.

Aha! Link: https://yugabyte-test.aha.io/features/PLATFORM-393

rao-vasireddy commented 4 years ago

The correct fix is probably to not give the Release Instance option after doing Stop Processes. The node should be black listed before doing Release Instance and Remove Node does that. So, the flow should be Stop Processes -> Remove Node -> Release Instance