Skip to content

Conversation

@matthewdale
Copy link
Collaborator

@matthewdale matthewdale commented Feb 7, 2025

GODRIVER-3475

Summary

Update the CreateCollection and CreateView docs to reflect the new behavior of MongoDB version 7.0 and newer when the collection or view already exists.

Background & Motivation

For MongoDB 7.0 and 8.0, the collection/view creation command no longer returns an error if an existing collection/view with the same name and configuration already exists. The following note on the "create" command was added for 7.0:

If you try to create a collection or view that already exists and you provide identical options for that existing collection or view, no action is taken and success is returned.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Feb 7, 2025
@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

No changes found!

@matthewdale matthewdale force-pushed the godriver3475-fix-createcoll-doc branch from e05f1d1 to d3e6168 Compare February 7, 2025 17:42
@matthewdale matthewdale changed the title GODRIVER-3475 Correct CreateCollection docs. GODRIVER-3475 Correct CreateCollection and CreateView docs. Feb 7, 2025
@matthewdale matthewdale merged commit e06ddd2 into mongodb:master Mar 12, 2025
28 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-low Low Priority PR for Review: within 3 business days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants