Details
-
Task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As part of the DataStoreCommand there is the assumption that the repositoryId is always present when the consistency check is run.
This is not always the case, especially when oak in not initialised but the nodestore & datastore are already created.
Existing code:
String repositoryId = ClusterRepositoryInfo.getId(fixture.getStore());
checkNotNull(repositoryId);
Proposal:
Create repositoryId in case it doesn't exist.