4.2 Sync All
After establishing the connection, Node 2 synchronizes the graph database. Because Node 2 has never synchronized with this graph before, it performs a Sync All.

Figure 6: Example of a Sync All message exchange
Performing a Sync All includes the following steps:
Node 2 sends a SOLICIT_NEW message to Node 1.
Node 1 responds by sending a FLOOD message for each record in the database. In this example, there are three records with IDs 1, 2, and 3 (using integers instead of GUIDs for record IDs for simplicity), and therefore three FLOOD messages.
After sending the last FLOOD, Node 1 sends a SYNC_END to inform Node 2 that all records have been sent.
After synchronization has completed, Node 2 will open a listening socket on an application specified port so that it can accept new neighbor connections. Now that Node 2 is listening, it will send a CONNECT message to Node 1 with the Update bit set and its listening addresses in the message. Node 1does not send a response to this CONNECT message because the Update bit is set.