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

Use cursor for reading chunks in `commitMergeAllChunksOnShard`

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • 2

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: