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

Use cursor for reading chunks in `commitMergeAllChunksOnShard`

    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2024-10-28, CAR Team 2024-11-25, CAR Team 2024-12-09
    • 2

      When squashing together contiguous chunks via commitMergeAllChunksOnShard, currently a vector is populated with all chunks belonging to a shard for the specified namespace.

      Purpose of this ticket is to read chunks by using a cursor in order to avoid wasting memory when it's not needed to scan all chunks.

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

              Created:
              Updated:
              Resolved: