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

config schema - clustering mode should validate format of the string

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 5.0.0.CR5
    • Fix Version/s: 5.1.0.CR4
    • Component/s: Configuration
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  mlinhard Michal Linhard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: