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

Do not need to use atomically ref-counted buffer for SharedBufferFragment

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      The SharedBufferFragmentBuilder is designed to be a per-thread memory pool for allocating temporary buffers.

      It does so using an atomically reference counted SharedBuffer. This shows up around 2% of the time spent building an index.

      Since this builder is designed to be used in a single-threaded context, we should consider redesigning this builder to not share ownership if possible.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: