Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4893

import cluster configuration command shuts down the existing servers

    XMLWordPrintableJSON

Details

    Description

      `import cluster-configuration --zip-file-name=...` in a cluster which has locator and servers (Server has no application regions defined yet). the server is shutdown without any message in the logs as to why the server was shutdown. Gfsh says import was successful.

      On manual restart of the server I can see that the config was actually imported successfully.

       

      We had added the feature that user can do an import cluster-configuration --zip-file-name=... without shutting down the vanilla servers, and the servers cache would just bounce. We should

      1. make sure the server's cache is completely empty. i.e. not just without regions, should not have any other entities like async event queue, disk stores etc.
      2. make sure after the import, the servers are not shut down.

      We have ClusterConfigImportDUnitTest.testImportWithRunningServer to test this scenaio, in the Dunit environment, the servers are not shut down after the import. We will need to write a similar acceptance tests to expose the problem.

      Attachments

        Activity

          People

            jinmeiliao Jinmei Liao
            jinmeiliao Jinmei Liao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m