]> Entropealabs - cluster_kv.git/commitdiff
logging around sending batches
authorChristopher <chris@entropealabs.com>
Sun, 8 Mar 2020 14:48:16 +0000 (09:48 -0500)
committerChristopher <chris@entropealabs.com>
Sun, 8 Mar 2020 14:48:16 +0000 (09:48 -0500)
lib/cluster_kv/ring.ex

index f5e7a3ab4f9b47501ee19a29c4d21ea40b6c8ef7..33dc42eb0aea483f4a8e4930d78f5e310167b309 100644 (file)
@@ -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