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

random_DDL_CRUD_operations.js bulk insert should perform max internalInsertMaxBatchSize inserts

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 6.0.15, 7.0.8, 5.0.27, 7.3.2
    • Affects Version/s: 7.0.0, 8.0.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-04-01
    • 17

      SERVER-78556 changed the internal batch size we use on insert. The bulk insert executed by random_DDL_CRUD_operations.js gets broken down in multiple batches internally. In case of a rename happening after the first batch, but before the second, the read would only see the second batch. However, the tests expects to see all or nothing.

      The test should be improved to:

      • be more verbose (as part of BF-31993 this was quite hard to verify as the assertion does not print any information on the nss and what is the expected value).
      • make the a bulk insert size less then the internalInsertMaxBatchSize

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: