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

Remove allowSkippingAppendRequiredFieldsToResponse fail-point

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • v4.4
    • Cluster Scalability 2024-3-18

      Some of the sharding unit-tests (e.g., NoErrors) expect a different behavior fromĀ appendRequiredFieldsToResponse than what the normal execution requires. These tests never initialize LogicalTimeValidator, and expect appendRequiredFieldsToResponse to quick-return.

      To fill this gap, SERVER-48013 introduced a fail-point to quick-return from these unit-tests. This fail-point enables successful execution of these unit-tests, but makes such tests observe a non-real behavior for appendRequiredFieldsToResponse.

      This ticket should make appropriate changes to these unit-tests to obviate the fail-point, and then remove it.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: