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

capped_large_docs.js is not resilient to replication rollback

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

      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

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

              Created:
              Updated:
              Resolved: