-spec mem_data_fallback(Local,
classy:cluster_id(),
FallbackData) -> {ok, sync_data()} |
{error,
_} when FallbackData ::
[{ok,
node(),
classy:site(),
classy:cluster_id(),
classy:site_metadata()} |
{error,
_}],
Local ::
classy:site().
Imitate cluster response from a remote node.
This function is used in a fallback mechanism that allows classy-aware nodes to join regular nodes. This is needed to support rolling upgrades.