Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19145

Add "warn" and "enforce" level for all levels of document validation

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.6
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:
    • Sprint:
      Quint Iteration 6

      Description

      user can set whether they want the validation to be warned or enforced.

      Warn:

      • Document write and updates occur the same as if level was off.
      • Document is passed through validation after write/update.
      • If pass, write/update completes.
      • If fails, write/update completes and writes to log details of the document validation fails.

      Enforce:

      • Document is only written or updated if passes validation.
      • Update/Write is rejected if validation not passed based on rules of the selected validation level. (i.e. moderate level and bad document, still bad, just fine)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: