예제 #1
0
파일: mcs.c 프로젝트: pacinodev/moxi
bool mcs_stable_update(mcs_st *curr_version, mcs_st *next_version) {
    if (curr_version->kind == MCS_KIND_LIBVBUCKET) {
        return lvb_stable_update(curr_version, next_version);
    }

    /* TODO: MCS_KIND_LIBMEMCACHED impl for stable update. */

    return false;
}
예제 #2
0
파일: mcs.c 프로젝트: MediaMath/moxi
bool mcs_stable_update(mcs_st *curr_version, mcs_st *next_version) {
#ifdef MOXI_USE_LIBVBUCKET
    if (curr_version->kind == MCS_KIND_LIBVBUCKET) {
        return lvb_stable_update(curr_version, next_version);
    }
#endif

    // TODO: MCS_KIND_LIBMEMCACHED impl for stable update.

    return false;
}