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);