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

Change maxTimeMS in collMod command in resharding_disallow_writes test

    • Fully Compatible
    • v5.0
    • Sharding 2021-06-14
    • 47
    • 1

      In the postCheckConsistencyFn passed down to 'withReshardingInBackground' in `reshardind_disallow_writes.js` test, the collMod command gets called with a maxTimeMS of 5000.

      This is an issue in slower variants as some are configured with a low executor pool size. Hence there's no assurance that the command will be addressed in 5000 ms.

       

      The simplest solution would either be to remove the maxTimeMS (which uses the default) or extend it to a larger number like 30,000 MS.

            Assignee:
            luis.osta@mongodb.com Luis Osta (Inactive)
            Reporter:
            luis.osta@mongodb.com Luis Osta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: