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

Attempting to connect an older version gfsh to a newer version JMX manager should fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • gfsh
    • None

    Description

      Currently, an older version of gfsh can connect to a newer version JMX manager, but when a command is invoked, it'll fail with a cryptic message.

      An example is:

      9.1.1 JMX manager
      9.0.3 gfsh

      Attempting to execute a query with this scenario logs a 'Could not parse command string' message:

      gfsh>query --query='SELECT sauce FROM /data' --interactive=true
      Could not parse command string. query --query='SELECT sauce FROM /data' --interactive=true --step-name=SELECT_EXEC
      

      Instead, gfsh should fail at connect time with an IncompatibleVersionException or something similar.

      Attachments

        Issue Links

          Activity

            People

              khowe Ken Howe
              boglesby Barrett Oglesby
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: