Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cluster event callbacks #206

Merged
merged 4 commits into from
Jul 14, 2017
Merged

Implement cluster event callbacks #206

merged 4 commits into from
Jul 14, 2017

Conversation

jhecking
Copy link
Contributor

@jhecking jhecking commented Jul 13, 2017

Set up a callback for AS cluster events. Client will emit the following
events:

  • nodeAdded - a new cluster node was detected
  • nodeRemoved - an existing node was removed from the cluster
  • disconnected - the client has lost connection to all cluster nodes

Requires Aerospike C client v4.1.8.

Closes #145

Set up a callback for AS cluster events. Client will emit the following
events:
* nodeAdded - a new cluster node was detected
* nodeRemoved - an existing node was removed from the cluster
* disconnected - the client has lost connection to all cluster nodes

Requires a currently unreleased, new API in the Aerospike C client.
Tests are expected to fail until a new C client version has been
released and the dependency in the Node.js client is updated.

Closes #145
@jhecking jhecking added this to the v2.7 milestone Jul 13, 2017
@jhecking jhecking self-assigned this Jul 13, 2017
@jhecking jhecking merged commit 5422810 into master Jul 14, 2017
@jhecking jhecking deleted the 145-cluster-events branch July 14, 2017 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant