Skip to content

Conversation

@bgrabar
Copy link

@bgrabar bgrabar commented Dec 13, 2012

Ready to Merge.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

journal need not be literalized.

journaling also ensures that mongodb is crash resistent: without a journal, if mongodb exits unexpectedly, then operators must assume that the data are in an inconsistent state and should resync from a clean secondary.

If we don't make this clear, it's possible that people won't respect or value the importance of journaling.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crash resistent or crash resilient?

What operators?

Are you saying that if journaling is enabled and the primary in a replica set crashes, that the secondaries don't need to resync from a clean secondary?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resilient.

operators = administrations/users (this is, admittedly a somewhat arcane and use of the term, sorry for the confusion)

the longer story is:

  • without journaling, if you shutdown uncleanly (i.e. by sending kill -9 mongod, or if it encounters an error and bails out, or there's power loss) then the data is almost certainly corrupt in some way. So you either have to run repair (which just throws away invalid BSON in the database,) or you have to resync from a clean member of the set (copy the data or just use initial sync) to ensure that the data is coherent.
  • with journaling, if mongod stops, it can recover everything that it wrote to the journal (which is everything less the last 100ms at most data (by default)) and the data files will be in a consistent state after it finishes playing back the journal, without need for resync (unless, of course, the secondary has fallen off the back edge of the oplog, which is an unrelated issue that doesn't need to be documented here...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omit read ahead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c/resistent/resistant

@tychoish tychoish merged commit 84c28dc into mongodb:master Dec 19, 2012
mongo-cr-bot pushed a commit that referenced this pull request Jan 31, 2022
* DOCS-13628 write concern and transactions

* DOCS-13628 write concern and transactions

* DOCS-13628 write concern and transactions

* DOCS-13628 write concern and transactions

* DOCS-13628 write concern and transactions

* DOCS-13628 write concern and transactions

* DOCS-13628-write-concern-and-transactions

* DOCS-13628-write-concern-and-transactions

* DOCS-13628-write-concern-and-transactions

* DOCS-13628-write-concern-and-transactions

Co-authored-by: jason-price-mongodb <[email protected]>

Co-authored-by: jason-price-mongodb <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request May 22, 2025
* DOCSP-43570-mongosync-1.9.0

* remove in-dev

* JC feedback

* *

* *

* external feedback

* *
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Standardizing FCV: 
- Replacing all instances of fCV or FCV with substitution |fcv| 
- Replacing all instances of "|fcv| of \<ver-num\>" with "|fcv|
\<ver-num\>"

------------------------------------------------------

- [DOCSP-43740](https://jira.mongodb.org/browse/DOCSP-43740)
-
[STAGING](https://deploy-preview-470--10gen-docs-ops-manager.netlify.app/)
- [LATEST BUILD
LOG](https://app.netlify.com/sites/10gen-docs-ops-manager/deploys/67095bb9c4044c000895880c)

### Self-Review Checklist

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [x] Resolve any new warnings or errors in the build.
- [x] Proofread for spelling and grammatical errors.
- [x] Check staging for rendering issues.
- [x] Confirm links are working.

---------

Co-authored-by: Elyse Foreman <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Standardizing FCV: 
- Replacing all instances of fCV or FCV with substitution |fcv| 
- Replacing all instances of "|fcv| of \<ver-num\>" with "|fcv|
\<ver-num\>"

------------------------------------------------------

- [DOCSP-43740](https://jira.mongodb.org/browse/DOCSP-43740) -

[STAGING](https://deploy-preview-470--10gen-docs-ops-manager.netlify.app/)
- [LATEST BUILD
LOG](https://app.netlify.com/sites/10gen-docs-ops-manager/deploys/67095bb9c4044c000895880c)

### Self-Review Checklist

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [x] Resolve any new warnings or errors in the build.
- [x] Proofread for spelling and grammatical errors.
- [x] Check staging for rendering issues.
- [x] Confirm links are working.

---------

Backport DOCSP-43740 to v8.0 

- [DOCSP-44417](https://jira.mongodb.org/browse/DOCSP-44417)

### Self-Review Checklist

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [ ] Resolve any new warnings or errors in the build.
- [ ] Proofread for spelling and grammatical errors.
- [ ] Check staging for rendering issues.
- [ ] Confirm links are working.

Co-authored-by: Elyse Foreman <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Standardizing FCV:
- Replacing all instances of fCV or FCV with substitution |fcv|
- Replacing all instances of "|fcv| of \<ver-num\>" with "|fcv|
\<ver-num\>"

------------------------------------------------------

- [DOCSP-43740](https://jira.mongodb.org/browse/DOCSP-43740) -

[STAGING](https://deploy-preview-470--10gen-docs-ops-manager.netlify.app/)
- [LATEST BUILD
LOG](https://app.netlify.com/sites/10gen-docs-ops-manager/deploys/67095bb9c4044c000895880c)

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [x] Resolve any new warnings or errors in the build.
- [x] Proofread for spelling and grammatical errors.
- [x] Check staging for rendering issues.
- [x] Confirm links are working.

---------

Backport DOCSP-43740 to v7.0 

- [DOCSP-44418](https://jira.mongodb.org/browse/DOCSP-44418)

### Self-Review Checklist

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [ ] Resolve any new warnings or errors in the build.
- [ ] Proofread for spelling and grammatical errors.
- [ ] Check staging for rendering issues.
- [ ] Confirm links are working.

Co-authored-by: Elyse Foreman <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Standardizing FCV:
- Replacing all instances of fCV or FCV with substitution |fcv|
- Replacing all instances of "|fcv| of \<ver-num\>" with "|fcv|
\<ver-num\>"

------------------------------------------------------

- [DOCSP-43740](https://jira.mongodb.org/browse/DOCSP-43740) -

[STAGING](https://deploy-preview-470--10gen-docs-ops-manager.netlify.app/)
- [LATEST BUILD
LOG](https://app.netlify.com/sites/10gen-docs-ops-manager/deploys/67095bb9c4044c000895880c)

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [x] Resolve any new warnings or errors in the build.
- [x] Proofread for spelling and grammatical errors.
- [x] Check staging for rendering issues.
- [x] Confirm links are working.

---------

Backport DOCSP-43740 to v6.0. 
- [DOCSP-44419](https://jira.mongodb.org/browse/DOCSP-44419)
### Self-Review Checklist

- [ ]
[Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions)
taxonomy
[values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top
of page.
- [ ] Add genre facets (tutorial or reference), as in this [example
PR](10gen/cloud-docs#5042).
- [ ] Add programmingLanguage (if necessary).
- [ ] Add meta keywords (if necessary).
- [ ] Resolve any new warnings or errors in the build.
- [ ] Proofread for spelling and grammatical errors.
- [ ] Check staging for rendering issues.
- [ ] Confirm links are working.

Co-authored-by: Elyse Foreman <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 11, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 22, 2025
* DOCSP-25706: electionId prioritzation

* added sentence

* CC suggestions
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 24, 2025
* DOCSP-46728 FAQ too short title

* Mike feedback

(cherry picked from commit 0f29c0f)

Co-authored-by: lindseymoore <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 25, 2025
* DOCSP-33345: Java code comments pt. 2

* CC edits

* CD feedback + sheet syntax
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 30, 2025
[v1.14] Merge pull request #437 from shuangela/DOCSP-46756-monitor-changes-title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants