ivate static boolean requireIndexRebuild(@Nullable Throwable exception) {
    return exception instanceof StorageException || exception instanceof IOException;
  }


ivate static boolean requireIndexRebuild(@Nullable Throwable exception) {