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

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

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

      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 Unassigned
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: