Make it easier to read and edit BSON data

XMLWordPrintableJSON

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

      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:
            Yury Ershov
            Reporter:
            Sulabh Mahajan
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: