Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13703

drop collection in sharded environments should point out that all mongos instances need cache refreshed

    XMLWordPrintable

    Details

    • Last comment by Customer:
      true
    • Sprint:
      ServerDocs2020: Aug24 - Aug31, ServerDocs2020: Aug31 - Sep07

      Description

      Description

      Similar to DOCS-8514 dropping a collection and then reusing the name to create another collection in a sharded environment can lead to stale cache SERVER-17397

      https://docs.mongodb.com/manual/reference/method/db.collection.drop/ should warn that dropping and reusing a collection name requires complex cache flushing 

      Alternatively the docs could add that to avoid this problem, use remove({}) instead and manually drop any unneeded collections. 

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.price Jason Price
              Reporter:
              nicholas.cottrell Nic Cottrell
              Participants:
              Last commenter:
              Jason Price Jason Price
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 7 weeks, 3 days ago
                Date of 1st Reply: