<div dir="ltr"><div><a href="https://wiki.openstack.org/wiki/Trove-Replication-And-Clustering-API#REPLICATION">https://wiki.openstack.org/wiki/Trove-Replication-And-Clustering-API#REPLICATION</a><br><br>I have updated the wiki page to reflect the current proposal for replication verbiage with some explanation of the choices. I would like to open discussion here regarding that verbiage. Without completely duplicating everything I just wrote in the wiki here are the proposed words that could be used to describe replication between two datastore instances of the same type. Please take a moment to consider them and let me know what you think. I welcome all feedback.<br>
<br>replicates_from: This term will be used in an instance that is a slave of another instance. It is a clear indicator that it is a slave of another instance.<br><br>replicates_to: This term will be used in an instance that has slaves of itself. It is a clear indicator that it is a master of one or more instances.<br>
<br>writable: This term will be used in an instance to indicate whether it is intended to be used for writes. As replication is used commonly to scale read operations it is very common to have a read-only slave in many datastore types. It is beneficial to the user to be able to see this information when viewing the instance details via the api.<br>
<br></div><div>The intention here is to:<br></div><div>1. have a clearly defined replication contract between instances.<br></div><div>2. allow users to create a topology map simply by querying the api for details of instances linked in the replication contracts<br>
</div><div>3. allow the greatest level of flexibility for users when replicating their data so that Trove doesn't prescribe how they should make use of replication.<br><br></div><div>I also think there is value in documenting common replication topologies per datastore type with example replication contracts and/or steps to recreate them in our api documentation. There are currently no examples of this yet<br>
<br></div><div>e.g. To create multi-master replication in mysql...<br><br></div><div>As previously stated I welcome all feedback and would love input.<br><br></div><div>Regards,<br><br>Daniel Salinas <br></div><span class="sew3vj5aoulq0g6"></span></div>