Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1189

config schema - clustering mode should validate format of the string

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 5.1.0.CR4
    • 5.0.0.CR5
    • Configuration
    • None

      currently the schema for the clustering mode says it's a string and
      the mode is decided by first letter of the string. this means that any garbage starting with the correct letter may lead to use of a specific mode e.g.:

      lasjadgadfg -> local
      rhdbhgh -> replication
      dfghbmjfgh -> distribution
      IlkHhdf -> invalidation

      what about forcing only the documented values
      "For distribution, set mode to either 'd', 'dist' or 'distribution'. For replication, use either 'r', 'repl' or 'replication'. Finally, for invalidation, 'i', 'inv' or 'invalidation'."
      + LOCAL

              pmuiratbleepbleep Pete Muir (Inactive)
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: