private void onSuccess(String method) {
    if (errorCount.getAndSet(0) != 0) {
      logger.info("Store {}: method {} set error count back to 0", storeId, method);
    }
  }
If store restarted successfully or at least one operation succeeded, reset the error count.
ambry-store/src/main/java/com/github/ambry/store/BlobStore.java