[tarantool-patches] Re: [PATCH 4/6] swim: expose enum swim_member_status to public API

Konstantin Osipov kostja at tarantool.org
Fri Mar 29 21:24:32 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/03/20 14:11]:
> At least for testing it is necessary to be able to get status of
> a member. Now it is always 'alive', but forthcoming
> failure-detection component would change it.

> +#define SWIM_PUBLIC_API
> +#include "swim_proto.h"

Please rather than using a define kludge introduce
swim_constants.h and move the declaration there. Make
swim_constants.h part of the public api.

Otherwise OK to push.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list