Inspect Topology and Survive a Failure
1.7 · Challenge

Inspect Topology and Survive a Failure

This is where everything comes together. You will find the current leader of the neo4j database, stop that container, and watch the cluster elect a new leader and keep accepting writes. The three scaffold questions below build the query you need, then you stop the leader and confirm the cluster survives.

Connect to core-1 and assemble a query that returns the address of the member currently acting as leader for the neo4j database.