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

capped_large_docs.js is not resilient to replication rollback

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 6.0.10, 5.0.21, 7.0.2
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0, v5.0
    • Execution NAMR Team 2023-09-04
    • 144

    Description

      This test expects there to always be exactly two documents in the collection at the end of the test, but this may not be there case if there was a replication rollback while the inserts were happening (since replication rollback does not adjust a collection's tracked data size).

      A couple possible options to fix the test:

      1. Add the does_not_support_stepdowns tag
      2. Adjust the assertion to accept fewer than two documents

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: