When new node is registered to the system, it should "recreate" all tables and alter statements already in use in a system. So we must add sth like initialization process after registration, and before node can actually be used by a system (so we will have 3 (or more) states for nodes: registered, active, failed), queries are sent to node only if it is in active status. After registering, master asks node to initialize with list of statements (it sends to him list of create table and alter statements [in order master recived them before] to node, and node must successfully execute them in that order.) if everything is fine, master will mark node as active:)
When new node is registered to the system, it should "recreate" all tables and alter statements already in use in a system. So we must add sth like initialization process after registration, and before node can actually be used by a system (so we will have 3 (or more) states for nodes: registered, active, failed), queries are sent to node only if it is in active status. After registering, master asks node to initialize with list of statements (it sends to him list of create table and alter statements [in order master recived them before] to node, and node must successfully execute them in that order.) if everything is fine, master will mark node as active:)