From user-return-11577-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Jul 18 22:47:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8B025180636 for ; Wed, 18 Jul 2018 22:46:59 +0200 (CEST) Received: (qmail 18473 invoked by uid 500); 18 Jul 2018 20:46:58 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 18451 invoked by uid 99); 18 Jul 2018 20:46:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2018 20:46:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 40E1ACB1C9 for ; Wed, 18 Jul 2018 20:46:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.888 X-Spam-Level: * X-Spam-Status: No, score=1.888 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uNZBhtHrzkJo for ; Wed, 18 Jul 2018 20:46:56 +0000 (UTC) Received: from mail-pl0-f44.google.com (mail-pl0-f44.google.com [209.85.160.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 82CBA5F17B for ; Wed, 18 Jul 2018 20:46:55 +0000 (UTC) Received: by mail-pl0-f44.google.com with SMTP id w3-v6so2562703plq.2 for ; Wed, 18 Jul 2018 13:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kDfNkvifdE5wszd1TprmewkhwIzl6Fv0nJhUXAuGcw0=; b=GtQ0gcUIseMS//r1GCWSxaKZ7n1U6u+lT8nmN1xO8Skp2ofob16rx1A1c/5xXHCAgc VDiA0sVgWZVdcOxMa6rd+fzv+qypDMTI6Gy6ZBprg67Ka6YR/aDxXrWp0CsCp4BajV77 +UW9QAzLuD+Oyw2GG9mAICP+Rfo4OkOU96D+T4LSGCgXxwJOo/F2xutwhItIc2ll5AFv svUWeqg705fvfwqiYHcK6iaim+aafpwK2vARTJal9fGzR0BX5RkfKI+O+WvWt3aqecin lxqdvLUOUUjWqn0aLnuU5sNJRCFK7T0ZcZXIKwDy9MNbs/K74dW3XgGEvxZBZbGeowkh 7pFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kDfNkvifdE5wszd1TprmewkhwIzl6Fv0nJhUXAuGcw0=; b=HmQ25AcDCGbYTc/iT+d3KT2TbaSyF5I4Kn7lQIl1Dc0HLUI2BGZ3hpK/8sHOYIn/Z/ Rv/if5VXEhCdWrp6LHGtRRH/rGhW3pzZGieKg0T/WpPlATTV+shcTwo95oF8+SSHGBqB XXqUpgFdoi+iYMHB2lGXDc8QL0Fg1PJXRmdbAyyATpot2DZzx3HPsE2C1lfJnJBxxzWe 6OcjOIVT+bsQVNTA0xHKfnPeo46AmvkEgEOh+Vtt6eET2th5c95h7XsSac252U+aPSUD fG7OCtubP+tgDtNMDxK/Xg3mnE+fdDVWmEEcQsSdrVV7Mtj6G6mdhCgbYuZnHnBzkLsm 46Cg== X-Gm-Message-State: AOUpUlFrWsJk9WVTX0X3GG+9k54TAzHu5TaxQ/YM+E6M9Hv1sPwpxn6V 8dB7TXRJ1ha5a9HdFfyieyT6xfaGREzzFLWz/YyQzsdM X-Google-Smtp-Source: AAOMgpef+O0cKx4TiGLeNJ0fk9c1ScIWqQJqqO3hvv8ccIHGDMHb/mGexI1VHuEiZwoHtXiDhIRSn4g/NchXWc9iBVU= X-Received: by 2002:a17:902:be07:: with SMTP id r7-v6mr7524461pls.124.1531946813732; Wed, 18 Jul 2018 13:46:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jostein Elvaker Haande Date: Wed, 18 Jul 2018 22:46:43 +0200 Message-ID: Subject: Re: Problem with ZK log files and snapshots To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000a5baa805714c2907" --000000000000a5baa805714c2907 Content-Type: text/plain; charset="UTF-8" So I was able to schedule a maintenance window for one of the instances, and performed the following: - Performed a VM snapshot of the instance - Stopped ZooKeeper - Deleted all log and snapshot files - Started ZooKeeper What I noticed then, was that both ZooKeeper and SOLR was able to start. However when I entered SOLR admin panla, it complained about not finding the configuration files for the collections and shards. This was easily fixed by uploading the configuration to ZK again, and performing a new restart of the service. Once this was performed, everything was back to working order. I also observed that now that the old log files and snapshots were gone, new log files and snapshots were finally created according to the values defined by snapCount, which means I can finally rely on either using PurgeTxnLog or have ZK do it automatically according to the values set in autopurge.snapRetainCount and autopurge.purgeInterval. -- Yours sincerely Jostein Elvaker Haande "A free society is a society where it is safe to be unpopular" - Adlai Stevenson http://tolecnal.net -- tolecnal at tolecnal dot net --000000000000a5baa805714c2907--