This sample demonstrates using the Binary Schema Evolution feature of eXtremeDB to open different versions of the database
cldb
on different cluster nodes. Note that schema filesschema1.mco
,schema2.mco
andschema3.mco
have slightly different field types and the metadictionary functionsmco_metadict_init()
andmco_metadict_register()
are used to initialize the metadictionary prior to callingmco_cluster_db_open()
.
In a console window run:
cluster_binev 2 0Then in a second console window run:
cluster_binev 2 1But it is more instructive to run one instance in your development environment debugger, stepping through the code.