Make HA fail to start with old store

HA instance fails to start with old versioned store.
This PR introduces new exception for HA with old store: ```UpgradeNotAllowedByDatabaseModeException```