Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46213

Better notification of requirement for clustering memcache/d

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      MDL-42071 saw cluster settings introduced for Memcache and Memcached.
      Both cache stores have a requirement that if using the cluster setting the servers specified must also exist in the set servers for those stores.
      Another words you must specify the local server twice.

      There is a note/warning about this in the help text for set servers however I feel it should be made more obvious.
      The following could all be done:

      1. Add a notice that is always visible below the textbox for set servers that summarises this requirement.
      2. Within the cache configuration screen check configured instances and display a warning for them if clustering is being used and the servers are not also set in the setservers setting.

      I think 1. should be done for sure. 2. would be nice but represents more work, there are a few warnings that could be shown so perhaps it is time to have a "check" api of some sort. Just spitballing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                samhemelryk Sam Hemelryk
                Participants:
                Component watchers:
                Matteo Scaramuccia, David Monllaó, Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: