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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2023-11-27, Execution Team 2023-12-11, Execution Team 2023-12-25

      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.

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

              Created:
              Updated:
              Resolved: