]> Entropealabs - cluster_kv.git/commitdiff
more logging
authorChristopher <chris@entropealabs.com>
Thu, 16 Apr 2020 15:58:39 +0000 (10:58 -0500)
committerChristopher <chris@entropealabs.com>
Thu, 16 Apr 2020 15:58:39 +0000 (10:58 -0500)
lib/cluster_kv/db.ex

index 9b0cd011370026061190ca26dd99ba0b19b59f4b..48c2741fabd4de8c0b332e01f604df04250aa62c 100644 (file)
@@ -143,6 +143,7 @@ defmodule ClusterKV.DB do
     batch
     |> Enum.slice(last_batch, chunk)
     |> Enum.each(fn {_k, _v} = v ->
+      Logger.info("Batch processing: #{inspect(v)}")
       :ets.insert_new(db, v)
       # do_upsert(db, k, v, fun)
     end)