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

Make it easier to read and edit BSON data

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Joker - StorEng - 2023-10-17
    • 3

      WiredTiger recently extracted data from a MongoDB internal collection and edited it manually to restore the database to a functional state. Since for MongoDB, the values stored in WiredTiger files are BSON data - we needed to get the binary bytes out from the file - interpret it as BSON, reflect it in a human-readable form, then edit as we needed, and get the binary bytes out to be restored into the WiredTiger file.

      I am creating this ticket to document how we interpreted the BSON from the binary data, and modified it. Also, we can write some tooling to make it easier for more teams/support to do.

      Eventually, together with the wt utility, the goal is to make it easier to manipulate MongoDB database for support and investigation.

            Assignee:
            y.ershov@mongodb.com Yury Ershov
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: