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

XMLWordPrintableJSON

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

      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
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: