Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8921

Create repositoryId in case it doesn't exist as part of DataStoreCommand

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • blob, blob-cloud
    • 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.

      Attachments

        1. OAK-8921-1.patch
          0.8 kB
          Paul Chibulcuteanu

        Activity

          People

            Unassigned Unassigned
            chibulcu Paul Chibulcuteanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: