docs: private static long getVersionId(String versionDir) {
          try {
              return Long.parseLong(versionDir.replace("version-", ""));
          } catch(NumberFormatException e) {
              logger.trace("Cannot parse version directory to obtain id " + versionDir);
              return -1;
          }
      }