From 790ccc107938a600b65d9ffb73fa5e4dd37c7423 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 16 Sep 2013 09:57:30 +0200 Subject: [PATCH] cluster: Another log replay fix. --- components/cluster/clustercomponent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index 41150e4eb..4ef5a72db 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -347,6 +347,8 @@ void ClusterComponent::ReplayLog(const Endpoint::Ptr& endpoint, const Stream::Pt last_sync = true; } + count = 0; + BOOST_FOREACH(int ts, files) { String path = GetClusterDir() + "log/" + Convert::ToString(ts);