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

Embed user batch indexes into WriteBatch

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-03-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      At the bottom of the insert staging process, we need to store the index of the current measurement in the user batch into the WriteBatch for use in retries and error handling in the upper time-series write layers.

      This ticket will need to add a vector to the WriteBatch, and plumb the index one layer further down in order to add it to the WriteBatch at the correct layer.

      It would be handy to define an alias for the size_t in BatchedInsertTuple, to something like userBatchIndex.

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: