Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11987

Support a comment attribute in policy rules and preferences

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      It is useful to add comments/notes to a policy rule to explain why it was put in place or what it does. Although JSON comments are supported by Solr but the comments are lost when parsed and persisted to ZK.

      {"replica": "<2", "shard":"#EACH", "node":"#ANY", 
      "comment":"Do not keep more than one replica of a shard in any node" }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shalin Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: