[corosync] Migrating to Corosync 2.0

Fabio M. Di Nitto fdinitto at redhat.com
Wed Jun 6 04:32:22 GMT 2012


On 6/5/2012 10:05 PM, Ted Ross wrote:
> I see that many of the definitions in corosync/cpg.h have changed since
> version 1.x.  Is there any documented guidance as to how a user of
> corosync should most properly migrate to version 2.0, or more
> specifically, how to conditionally use either 1.x or 2.0?
> 
> I apologize if this is a duplicate question.  I did a quick search of
> the website and the email archives before asking.
> 
> Thanks,

All the CPG_ definitions in 1.x were aliases to CS_ (similar to
cpg_error_t vs cs_error_t). It is safe to switch to the standard CS_ as
they work exactly the same in 1.x and 2.x

Fabio



More information about the discuss mailing list