0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
The MongoDB Database
Go to file
Brett Nawrocki a710a2bf41 SERVER-61444 Resharding coordinator state transactions now use w:1
Prior to updating its own in-memory state, the resharding coordinator
 first runs a transaction to persist that state. There is an edge case
 where that transaction (if run with >w:1) will commit successfully, but
 become interrupted while waiting for replication. If that happens, the
 coordinator will have completed the transaction's work, but fail to
 update its own in-memory state, and therefore will redo that work when
 it retries after handling the exception. Instead of running with the
 default of w:majority, the transactions for these state transitions
 have therefore been changed to use w:1 in order to avoid the
 interruption edge case. An explicit wait for majority is added after
 the transactions in cases where it must be majority committed before
 proceeding.
2022-01-24 23:08:02 +00:00
buildscripts SERVER-62285 added processing of cache-dir push failures. 2022-01-24 22:12:26 +00:00
debian SERVER-51253 implement mongodb-parameters man 5 page 2021-10-20 20:22:31 +00:00
distsrc
docs SERVER-60980 update logo used in toplevel README.md 2021-10-26 21:26:51 +00:00
etc SERVER-62603 Server side update for TIG-3172 2022-01-22 02:46:40 +00:00
evergreen SERVER-62663 Fix last-continuous binary setup on future git tag buildvariant 2022-01-24 17:21:20 +00:00
jstests SERVER-62454 Add collectionUUID parameter to shardCollection command 2022-01-24 21:24:12 +00:00
rpm SERVER-51253 implement mongodb-parameters man 5 page 2021-10-20 20:22:31 +00:00
site_scons SERVER-62285 added processing of cache-dir push failures. 2022-01-24 22:12:26 +00:00
src SERVER-61444 Resharding coordinator state transactions now use w:1 2022-01-24 23:08:02 +00:00
.clang-format
.eslintignore
.eslintrc.yml
.gdbinit
.gitattributes
.gitignore SERVER-49015 Automatically install db-contrib-tool 2022-01-06 13:57:47 +00:00
.lldbinit
.mypy.ini
.pydocstyle
.pylintrc SERVER-58695 improved symbolizer 2021-07-26 11:23:45 +00:00
.style.yapf
.udbinit
CONTRIBUTING.rst
CreativeCommons.txt
LICENSE-Community.txt
README.md SERVER-57684 README.md 2021-06-21 14:48:56 +00:00
README.third_party.md SERVER-58833 Remove "Upstream Version" from README.third_party.md on … 2021-08-17 20:35:25 +00:00
SConstruct SERVER-61662 Conftest logs should always be verbose. 2022-01-24 22:34:03 +00:00

Logo MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.
  • mongo - The database shell (uses interactive javascript).

Utilities

install_compass - Installs MongoDB Compass for your platform.

Building

See Building MongoDB.

Running

For command line options invoke:

$ ./mongod --help

To run a single server database:

  $ sudo mkdir -p /data/db
  $ ./mongod
  $
  $ # The mongo javascript shell connects to localhost and test database by default:
  $ ./mongo
  > help

Installing Compass

You can install compass using the install_compass script packaged with MongoDB:

  $ ./install_compass

This will download the appropriate MongoDB Compass package for your platform and install it.

Drivers

Client drivers for most programming languages are available at https://docs.mongodb.com/manual/applications/drivers/. Use the shell (mongo) for administrative tasks.

Bug Reports

See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.

Packaging

Packages are created dynamically by the buildscripts/packager.py script. This will generate RPM and Debian packages.

Documentation

https://docs.mongodb.com/manual/

Cloud Hosted MongoDB

https://www.mongodb.com/cloud/atlas

Forums

Learn MongoDB

https://university.mongodb.com/

LICENSE

MongoDB is free and the source is available. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1. See individual files for details.