private static int commonVersionIfExists(@NotNull PersistentFSRecordsStorage records,
                                           @NotNull VFSAttributesStorage attributes,
                                           @NotNull VFSContentStorage contents) throws IOException {
    final int recordsVersion = records.getVersion();
    final int attributesVersion = attributes.getVersion();
    final int contentsVersion = contents.getVersion();
    if (attributesVersion != recordsVersion /*|| contentsVersion != recordsVersion*/) {
      LOG.info("VFS storages are of different versions: " +
               "records(=" + recordsVersion + "), " +
               "attributes(=" + attributesVersion + "), " +
               "content(=" + contentsVersion + ")");
      return -1;
    }

    return recordsVersion;
  }
private static int commonVersionIfExists(@NotNull PersistentFSRecordsStorage records,
                                           @NotNull VFSAttributesStorage attributes,
                                           @NotNull VFSContentStorage contents)