Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7650

Expose auto_bootstrap as a system property override

    XMLWordPrintableJSON

Details

    Description

      This one-line change gives the auto_bootstrap config parameter the ability to be overridden by a system property.

      As I understand things, setting this false is generally a one-time initial set-up item, and providing this will be potentially easier than swapping out yaml file items when the need to set this false arises.

      The handling is the same as was already implemented for replace_address and the like, look to the system property, and default that to the yaml config value.

      This also will also allow a start-up agent (like Priam) to influence the setting from within it's control over Cassandra's start-up behaviour

      Patch was generated against 1.2 branch but applies ok to 2.0 as well. (It would be great if this could be applied to both code lines)

      Attachments

        1. cassandra_auto_bootstrap.patch
          0.6 kB
          Joe Hohertz

        Activity

          People

            jhohertz Joe Hohertz
            jhohertz Joe Hohertz
            Joe Hohertz
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: