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

mongod backtrace if shard tag ranges are added before collection is sharded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 4.0.3
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1. Deploy a 2 shard sharded cluster. Each shard is a PSA replica set.
      2. Add shard tag ranges by upserting directly to config.tags
      3. Shard the collection referred to by the shard tag range

      Show
      1. Deploy a 2 shard sharded cluster. Each shard is a PSA replica set. 2. Add shard tag ranges by upserting directly to config.tags 3. Shard the collection referred to by the shard tag range

      Description

      On a 2-shard, PSA sharded cluster, if shard tag ranges are added before a collection is sharded, some shard members will backtrace.

      This appears to be a regression in 4.0.3-rc0. We have not seen this happen in 4.0.2.

      Logs attached.

        Attachments

        1. config-dump.tar.gz
          2 kB
        2. csrs0.log
          267 kB
        3. csrs1.log
          73 kB
        4. csrs2.log
          69 kB
        5. mongos.log
          19 kB
        6. shard0-0.log
          77 kB
        7. shard0-1.log
          10.70 MB
        8. shard0-2.log
          135 kB
        9. shard1-0.log
          2.77 MB
        10. shard1-1.log
          14 kB
        11. shard1-2.log
          5 kB

          Issue Links

            Activity

              People

              Assignee:
              janna.golden Janna Golden
              Reporter:
              tim.olsen Timothy Olsen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: