cdrs icon indicating copy to clipboard operation
cdrs copied to clipboard

[v2.0.0] ClusterManager adjusting the Up/Down nodes

Open harrydevnull opened this issue 7 years ago • 6 comments

I know we just have got the cluster manager api up. the nodes can be brought up online or node can die. we can get those information via the server events. using the server event api we should dynamically add/remove the nodes from manager pool.

harrydevnull avatar Mar 04 '17 18:03 harrydevnull

Good idea. 👍

AlexPikalov avatar Mar 04 '17 19:03 AlexPikalov

A related question what do you think of making a cluster builder struct that would abstract away creation of transporttcp ,Authetication and loadbalancing?

As in from API standpoint a client would have to give clusterbuilder.with_nodes(122333).port(9042).poolsize(5).....build() ?

harrydevnull avatar Mar 08 '17 00:03 harrydevnull

If we could find a way to go it would be awesome. I'm afraid that in case of creating TLS connection to a cluster it could be not so trivial to cover all existing options to configure SSL. However we could implement a POC for that and to see if it's flexible enough.

AlexPikalov avatar Mar 08 '17 21:03 AlexPikalov

I too had the same thought let me give it a shot

On Wed, Mar 8, 2017 at 4:14 PM Alex Pikalov [email protected] wrote:

If we could find a way to go it would be awesome. I'm afraid that in case of creating TLS connection to a cluster it could be not so trivial to cover all existing options to configure SSL. However we could implement a POC for that and to see if it's flexible enough.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexPikalov/cdrs/issues/113#issuecomment-285171153, or mute the thread https://github.com/notifications/unsubscribe-auth/AM2UncDD6fECR5M24wXcKh7ZZNnqtPGZks5rjxokgaJpZM4MTK4i .

harrydevnull avatar Mar 08 '17 21:03 harrydevnull

@harrydevnull sure, go ahead

AlexPikalov avatar Mar 09 '17 17:03 AlexPikalov

NOTE: Removing nodes process was implemented. Adding nodes still remains.

AlexPikalov avatar Apr 11 '20 04:04 AlexPikalov