$out: acquire locks for target namespaces when outputting to timeseries

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When $out outputs to timeseries, it does so in two steps, first the temporary collection is renamed into the buckets collection, then the view is created. These two operations are done without taking locks, meaning that any DDL operation can interleave and create issues (see linked tickets). Taking locks during this critical section should prevent those issues.

              Assignee:
              Unassigned
              Reporter:
              Aitor Esteve Alvarado
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: