Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7430257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:06:34+00:00 2026-05-29T09:06:34+00:00

I often hear that mongodb can perform atomicity at one collection level. Do you

  • 0
  1. I often hear that mongodb can perform atomicity at one collection level.
    Do you know why and how this is linked to sharding?
  2. The only difference between replication and replicasets is that both are master/slave (primary/secondary) but replicasets has
    election if master is down, right?
  3. In ACID, which are supported/not supported by mongodb2?
  4. Can Durability in mongodb be garanteed with safe=true ?

Thank you !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:06:34+00:00Added an answer on May 29, 2026 at 9:06 am
    1. MongoDB can currently provide atomicity at the “update a single document” level, that’s it. This is completely unrelated to sharding.

    2. More or less. Replica sets are newer, and you should basically always use them now. Master/Slave replication is only around for backwards compatibility these days. It’s pretty likely that only replica sets will be getting new features going forwards.

    3. Atomicity is provided for an update to a single document (see #1). Consistency and Isolation aren’t really provided at all — your application will have to do that. Durability can be provided (in a fashion) by requiring that a write operation is persisted to multiple nodes before the driver reports success (see #4).

    4. Durability can be provided by tweaking the Write Concern, either by using a value for W > 1, and/or (although this is slow) by using fsync. See the WriteConcern documentation or the connection string documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One of the main advantages of web applications I often hear is that the
I often hear complaints that programming languages that make heavy use of symbols for
I often hear around here from test driven development people that having a function
I often hear a Model must be wrapped by a ViewModel that the View
I often hear the terms 'statically linked' and 'dynamically linked', often in reference to
I often hear things like Can we load our employee info using LDAP? Yet,
I often hear people say to use $_SERVER['SERVER_ADDR'] , but that returns the LAN
I keep hearing people complaining that C++ doesn't have garbage collection. I also hear
You often hear that C++ is preferable to Objective-C for games, especially in a
In Groovy++ I often hear of the term Annotations. Can anyone explain me what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.