Uploaded image for project: 'MaxScale'
  1. MaxScale
  2. MXS-1200

config file lines limited to ~1024 chars

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.1.3
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      2017-31

      Description

      Because $reasons I've got around 150 pairs [which is only half of the migration] of servers set up for readconnroute services which are then fed to a schemarouter that runs on top of them. I've found that once any line of configuration breaks the 1024-char barrier maxscale can no longer load.

      My problem cases are in the readconnroute I attempt to configure a monitor for all 300+ servers which generates a line over 5000 chars. Though I could conceivably live without this, the more urgent concern is that the schemarouter config has now broken this barrier.

      In both cases the error is:

      * Error: Error: Failed to pre-parse configuration file. Error on line X.
      

      Where line X-1 is any line longer than ~1024 chars, even a comment.

      Is there any fix or workaround for this, such as a multiline syntax?

        Attachments

          Activity

            People

            • Assignee:
              markus makela markus makela
              Reporter:
              wrossmann Wade Rossmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: