Interface for time-series bucket access through user namespace

XMLWordPrintableJSON

    • 3
    • 0
    • Hide

      DRIVERS-3064:
      Summary of necessary driver changes

      •  Add support for the new rawData command option for the following CRUD operations:
        • aggregate
        • bulkWrite (collection and client)
        • count
        • countDocuments
        • deleteMany
        • deleteOne
        • distinct
        • estimatedDocumentCount
        • find
        • findOne
        • findAndModify
        • insertMany
        • insertOne
        • replaceOne
        • updateMany
        • updateOne
        • listIndexes
        • dropIndexes
        • createIndexes
        • listCollections

      Note: the list of CRUD operations that need to support this new option was derived from the list of commands that support the option:

      • aggregate
      • bulkWrite
      • count
      • delete
      • distinct
      • find
      • findAndModify
      • insert
      • update
      • listIndexes
      • dropIndexes
      • createIndexes
      • listCollections

      Commits for syncing spec/prose tests

      Context for other referenced/linked tickets

      •  commits concerning internal usage of rawData: e8be2e9
      Show
      DRIVERS-3064 : Summary of necessary driver changes  Add support for the new rawData command option for the following CRUD operations: aggregate bulkWrite (collection and client) count countDocuments deleteMany deleteOne distinct estimatedDocumentCount find findOne findAndModify insertMany insertOne replaceOne updateMany updateOne listIndexes dropIndexes createIndexes listCollections Note: the list of CRUD operations that need to support this new option was derived from the list of commands that support the option: aggregate bulkWrite count delete distinct find findAndModify insert update listIndexes dropIndexes createIndexes listCollections Commits for syncing spec/prose tests   https://github.com/mongodb/specifications/commit/7bff2f51ca5b4c6d8a4796aa2af7c9566a58803d Context for other referenced/linked tickets  commits concerning internal usage of rawData : e8be2e9
    • Needed
    • 🔵 Done
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-3064, please see that ticket for a detailed description.

      Use Case

      As a developer
      I want to execute operations on the raw timeseries collection data
      So that I have access to the now hidden compressed data.

      User Experience

      • Users can provide a rawData option to various ops to execute that operation on the raw compressed timeseries data.

      Dependencies

      • Downstream: Compass, mongosh, Data Explorer

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Add the optional rawData boolean option to the options types for all supported operations.
      • Decorate all supported operations' commands with the rawData property only if it is true and the server wire version >= 27.
      • Refactor commands as necessary based on NODE-6404 (build commands after connection checkout) results.

      Testing Requirements

      • Sync Index Management, CRUD, and Collection Management unified tests that include the -rawdata.* pattern.

      Documentation Requirements

      • API docs on the options types for the new option.
      • MongoDB manual for the Node driver in the Time Series section.

      Follow Up Requirements

      • None

       

       

       

            Assignee:
            Durran Jordan
            Reporter:
            TPM Jira Automations Bot
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: