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

    • Fully Compatible
    • ALL
    • v4.2
    • Query 2019-08-12, Query 2019-08-26, Query 2019-09-09
    • 0

      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.

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: