Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5113

docker: make provision standard for both docker-compose and sky

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • N/A
    • Build

    Description

      We do have reports of sporadic readonly cluster with CS in Sky. I suggest we review startup

      1. for docker-compose
      docker-compose up -d && docker exec -it mcs1 provision
      here we wait for all nodes to start and then execute cluster demo on mcs1
      this is pretty simple https://github.com/mariadb-corporation/mariadb-skysql-columnstore-docker/blob/master/scripts/provision

      2. for sky this is very different . look at the logic https://github.com/mariadb-corporation/mariadb-skysql-columnstore-docker/blob/12de7a737b47dc14c09321401c996fdce3c01ebe/scripts/skysql-specific-startup.sh#L80
      it seems that SKY is using quite a complex logic and the timing is not clear.

      Could we switch to the provision model where provision script allows to pass in the array of hosts

      -operator start N nodes
      -each node completes starting server and CMAPI server
      -operator calls cluster_demo on node 1 and passes array of nodes . The cluster demo completes the startup

      the pod shutdown should be handled unirformly. Ideally a new deprovision script that Todd provides and operator invokes at end

      Attachments

        Activity

          People

            toddstoffel Todd Stoffel (Inactive)
            alexey.vorovich alexey vorovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.