Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-514

Cassalog cannot handle two servers starting at the same time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.21.4, 0.22.0
    • Component/s: None
    • Labels:
      None

      Description

      Cassalog fails if two Hawkular Metrics servers start at the same time:

      22:59:05,152 FATAL [org.hawkular.metrics.api.jaxrs.MetricsServiceLifecycle] (metricsservice-lifecycle-thread) HAWKMETRICS200006: An error occurred trying to connect to the Cassandra cluster: java.lang.RuntimeException: The schema is in an unknown state and cannot be versioned. Expected tables to be [tenants, tenants_by_time, data, metrics_tags_idx, metrics_idx, retentions_idx, tasks, task_queue, leases] but found [data, metrics_idx, metrics_tags_idx, tenants, tenants_by_time].

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  john.sanda John Sanda
                  Reporter:
                  mwringe Matt Wringe
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: