Cluster_Binev

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 files schema1.mco, schema2.mco and schema3.mco have slightly different field types and the metadictionary functions mco_metadict_init() and mco_metadict_register() are used to initialize the metadictionary prior to calling mco_cluster_db_open().

How to Run

In a console window run:

 
    cluster_binev 2 0
     

Then in a second console window run:

 
    cluster_binev 2 1
 

But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics