Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-31035

Database Migrator health check reports "Cluster consistency error: null"

    Details

    • Story Points:
      2
    • Sprint:
      NXRM Immortals Sprint 29
    • Notability:
      2
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      SYMPTOM:

      Running the DB migrator with --healthcheck ends with:

      17:46:46 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - Checking db cluster consistency for errors...
      17:46:47 [main] ERROR c.s.n.d.m.tasklet.HealthCheckTasklet - Cluster consistency error: null
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - Check storage: OK
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - Check clusters consistency: FAILED
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - 0 component duplicates found
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - 0 asset duplicates found
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - 0 browse nodes duplicates found
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - ------------------------------------------------------------
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - Database integrity: BROKEN
      17:46:47 [main] INFO  c.s.n.d.m.tasklet.HealthCheckTasklet - ------------------------------------------------------------
      

      and not sure how to fix this.

      EXPECTED BEHAVIOUR:

      If I understand this error correctly, OrientDB creates null object in "clusters" when it opens the DB and when it can't get the "clusterConfig" of some "cluster", but when OrientDB does "checkClusters", there is no null check so that it causes NullPointerException.
      This indicates some OrientDB corruption, but when we migrate to PostgreSQL, I would think this would be OK to ignore.
      If this should not be ignored, please provide the steps to fix the OrientDB "component" database (export/import didn't work).

        Attachments

          Activity

            People

            Assignee:
            mshevelov Mykyta Shevelov
            Reporter:
            hosako Hajime Osako
            Last Updated By:
            Nicholas Blair Nicholas Blair
            Team:
            NXRM - IMMORTALS
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title