Create in-memory state and create a new opObserver to handle operations blocking

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-03-30, CAR Team 2026-04-13, CAR Team 2026-04-27, CAR Team 2026-05-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have to introduce a new in-memory state to hold all flags for preventing user writes. In particular, we have to expose:
      1) A method which will throw an error if the write blocking is enabled and the namespace/user is not exempt
      2) A method to allow an operation to bypass the block (adding a new privilege) 

      In addition, we have to update the existing opObserver to check if an insert, update or delete operation is allowed by checking the in-memory state. We have further to modify the opObserver to disallow range deletions.

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: