//---------------------------------------------------------------------//Collect updates from clients//If we're master, we apply these to the kvmap//If we're slave, or unsure, we queue them on our pending list