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

Remove the unused toString and toBSON functions of CollectionBulkLoader

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 7.1.0-rc0
    • None
    • None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-06-12
    • 1

    Description

      The toString and toBSON functions of CollectionBulkLoader are not used by any other codes. Its subclass overrides these two functions in which serialize nss to string. It's impossible to get to know how to correctly serialize the nss in multitenancy environment as we enforce the caller to pass in serialization context or call `toStringFor*()` to indicate the target. 

      We'd better to remove these two functions from the code base. It will be help us to keep the code clean and easy to be maintained. 

       

      Attachments

        Activity

          People

            sophia.tan@mongodb.com Sophia Tan
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: