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

Dropping config.shards is allowed and can cause mongos to crash in aggregation code

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Query 2019-08-12, Query 2019-08-26, Query 2019-09-09
    • Linked BF Score:
      0

      Description

      Perhaps the aggregation code should handle 0 shards?

      Or should sharding prevent dropping config.shards? Sharding has discussed before not wanting to disallow direct writes to the config database, since sometimes people do that, and I think mongorestore might drop some of the config collections.

      We could also prevent the fuzzer from dropping config collections to prevent the build failures.

        Attachments

          Activity

            People

            Assignee:
            bernard.gorman Bernard Gorman
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: