From 7e487c65445bb54d7050a2017454afc2b921c134 Mon Sep 17 00:00:00 2001 From: tcrain Date: Thu, 25 Aug 2016 17:36:19 +0200 Subject: [PATCH] more precise dcid definition --- include/antidote_utils.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/antidote_utils.hrl b/include/antidote_utils.hrl index 263e28a..ef49545 100644 --- a/include/antidote_utils.hrl +++ b/include/antidote_utils.hrl @@ -4,7 +4,7 @@ -type key() :: term(). -type op() :: {update | merge, downstream_record()}. -type type() :: atom(). --type dcid() :: 'undefined' | {_,_}. +-type dcid() :: 'undefined' | {atom(),tuple()}. %% TODO, is this the only structure that is returned by riak_core_ring:cluster_name(Ring)? -type snapshot_time() :: vectorclock:vectorclock(). -type clock_time() :: non_neg_integer(). -type dc_and_commit_time() :: {dcid(), clock_time()}.