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

XMLWordPrintableJSON

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

      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
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: