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

Use different collections for mapreduce out in read_pref_cmd.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0
    • CAR Team 2024-12-23
    • 0

      There is an error

      indexes of target collection read_pref_cmd.mrOut changed during processing. 

      which happens time to time during execution of read_pref_cmd.js.

      In all cases it happens inĀ mapReduce_noninline_unsharded_ test, which is executed after mapReduce_noninline_sharded_.

      It's possible that $out reads an existing index of mrOut created on previous step from lagged secondary.

      Solution: use different mrOut collections for different tests.

            Assignee:
            igor.praznik@mongodb.com Igor Praznik
            Reporter:
            igor.praznik@mongodb.com Igor Praznik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: