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

Enable convertToCapped in agg_out.js

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • CAR Team 2024-05-13

      Currently convertToCapped is not running in case of sharded cluster in agg_out.js. 

      The support has never been implemented simply because sharded collection cannot be capped.

      With the introduction of unsplittable collections, SERVER-85772 and SERVER-87010, convertToCapped can run on tracked unsharded collection within a sharded cluster living in or outside the DBPrimary.

      The check should be removed.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: