-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch underlying driver to mongodb_driver for MongoDB 6.0+ support (#…
…190) * Upgrade docker-compose mongo image to 6.0.6 * Switch underlying driver to mongodb_driver for MongoDB 6.0+ support * Interpret matched_count != 1 as staleness error in Connection.update_one/3 Basing staleness on the modified_count is incorrect, since updates that match a document but leave it as-is is a successful no-op. The action should only be considered stale if the update query did not match any documents. * Use appropriate Hex release of mongodb_driver * CI: same Mongo versions as elixir-mongodb-driver * CI: don't restore old deps cache * remove unused deps * update mongo versions in readme --------- Co-authored-by: Matthew Weidner <17693586+mweidner037@users.noreply.github.com>
- Loading branch information
1 parent
6793f9b
commit dfd21c5
Showing
10 changed files
with
102 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
version: "3.9" | ||
services: | ||
mongo: | ||
image: mongo:4.4.4 | ||
image: mongo:6.0.6 | ||
ports: | ||
- 27017:27017 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.