From: Christopher Date: Sun, 8 Mar 2020 14:48:16 +0000 (-0500) Subject: logging around sending batches X-Git-Url: http://git.entropealabs.com/?a=commitdiff_plain;h=9b7c50c8ad4566dc9b88e80f9ff9eee88ef3a0b0;p=cluster_kv.git logging around sending batches --- diff --git a/lib/cluster_kv/ring.ex b/lib/cluster_kv/ring.ex index f5e7a3a..33dc42e 100644 --- a/lib/cluster_kv/ring.ex +++ b/lib/cluster_kv/ring.ex @@ -317,6 +317,7 @@ defmodule ClusterKV.Ring do Logger.info("Sending batches to: #{inspect(Map.keys(batches))}") Enum.each(batches, fn {node, batch} -> + Logger.info("Sending #{length(batch)} reccords to #{inspect(node)}") send({name, node}, {:handle_batch, batch}) end) end