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

Timeseries inserts are always logged with the bucket namespace for requests sent from mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2023-11-27, Execution Team 2023-12-11, Execution Team 2023-12-25

    Description

      For update and delete, we have logic to translate the bucket namespace (e.g. sent from mongos) back to the view namespace when we set up the CurOp. But for insert, it looks like we always use the namespace from the received request. And I think this means that for writes sent from mongos to the shards, they will always be logged with the bucket namespace. I am not sure what's the desired behavior here.

      This test confirms this mismatching behavior.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: