Refactor CUD operations to subclass ModernizedOperation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 6.19.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      Note: read operations will be refactored in https://jira.mongodb.org/browse/NODE-7082.

      User Experience

      Dependencies

      • n/a

      Risks/Unknowns

      • CUD (CRUD without read) operations are important code paths - ensure no performance regression with the refactor.

      Acceptance Criteria

      Implementation Requirements

      • Migrate the following operations to subclass ModernizedOperation:
        • UpdateOperation (and subclasses)
        • DeleteOperation (and subclasses)
        • ReplaceOneOperation
        • CountOperation
        • ClientBulkWriteOperation
        • FindAndModifyOperation
        • InsertOperation
        • EstimatedDocumentCountOperation

      Testing Requirements

      • Ensure no performance regression.
      • Ensure we have adequate test coverage for these operations and ensure all tests pass.

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

              Assignee:
              Bailey Pearson
              Reporter:
              Bailey Pearson
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: