long storedDataVer = Tuple2.fromBytes(dataVerValue).getLong(0);
long storedMetaVer = Tuple2.fromBytes(metaVerValue).getLong(0);
if((storedDataVer != CURRENT_DATA_VERSION) || (storedMetaVer != CURRENT_META_VERSION)) {
if(throwIfIncompatible) {
if ((storedDataVer >= CURRENT_DATA_VERSION) || (storedMetaVer >= CURRENT_META_VERSION)) {
throw new MetadataVersionNewerException (CURRENT_META_VERSION, CURRENT_DATA_VERSION, storedMetaVer, storedDataVer);
} else {
throw new MetadataVersionTooOldException(CURRENT_META_VERSION, CURRENT_DATA_VERSION, storedMetaVer, storedDataVer);
}
}
return Boolean.FALSE;