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

Dropping a sharded collection doesn't get rid of the CSS entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0
    • Sharding EMEA 2022-09-19

    Description

      Currently, when a collection is dropped, we only clear the CSR's contents, but don't actually drop the CSS entry from the CSS map.

      With the recent changes to fix the range deleter preservation on Shard Primaries (SERVER-67385), the clearing of the CSR doesn't actually throw out the contents of the MigrationManager (which really is a reference to the routing table). So in theory, we are leaving more memory behind than we were leaving before upon drop of a sharded collection.

      Under this ticket we should make the dropping of a collection to entirely throw out the CSS entry rather than just clear it.

      Attachments

        Issue Links

          Activity

            People

              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              kaloian.manassiev@mongodb.com Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: