]> granicus.if.org Git - icinga2/commitdiff
cluster: Another log replay fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 16 Sep 2013 07:57:30 +0000 (09:57 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 16 Sep 2013 07:57:30 +0000 (09:57 +0200)
components/cluster/clustercomponent.cpp

index 41150e4eb289acb2efa3e387ce658922e703817d..4ef5a72dbea7b88ac08439bc1976f86345a60538 100644 (file)
@@ -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);