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

Use cursor for reading chunks in `commitMergeAllChunksOnShard`

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 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: