Skip to content

[SERVER-9754] Every write to journal costs additional seek to update file metadata #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 86 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
3018a05
SERVER-8914: rename document.scanned metric
scotthernandez Mar 8, 2013
1b84109
SERVER-8921 Improve error message for invalid text index spec
jrassi Mar 12, 2013
edb5f4e
SERVER-8873 Correctly decide if a term in a text field is a stopword
jrassi Mar 12, 2013
bb2313f
SERVER-8921 Change error condition for invalid text index spec
jrassi Mar 12, 2013
d92e629
SERVER-8920: Add new fields to dbStats command for pdfile version
erh Mar 12, 2013
36e04f7
SERVER-8920 Disable stats.js in sharding passthrough
jrassi Mar 12, 2013
3bcf74b
SERVER-8920 - fix test to not use the test db
monkey101 Mar 12, 2013
8d3cd28
BUMP 2.4.0-rc3
monkey101 Mar 13, 2013
5345b97
post 2.4.0-rc3
monkey101 Mar 13, 2013
b894cc7
SERVER-5307 New man pages generated from docs by samk@10gen.com
ehershey Mar 14, 2013
f89c742
SERVER-5307 Include new man pages in rpm
ehershey Mar 14, 2013
a8fd67b
SERVER-5307 Only include new man pages in rpm if version > 2.4.0
ehershey Mar 14, 2013
eace82e
SERVER-5307 fixing file mode to match other man page files
ehershey Mar 15, 2013
ce2d666
BUMP 2.4.0
monkey101 Mar 15, 2013
bafb770
update logic for including new man pages to >=2.4.0, not >2.4.0
ehershey Mar 17, 2013
b74d1bb
post 2.4.0
monkey101 Mar 18, 2013
1dc86f4
SERVER-6991 better stats for sharded connections and sharded conn pool
Mar 14, 2013
1b8a702
SERVER-6991 allow releasing sharded conn back to pool after read oper…
Mar 14, 2013
6560086
SERVER-9050 GLE with w:1 on config servers shouldn't report "norepl" …
stbrody Mar 21, 2013
4ffa043
SERVER-9061 Fix mongostat segfault when using auth with multiple hosts
stbrody Mar 21, 2013
8301275
SERVER-9087: fix initial sync ignoring updates during index creation
erh Mar 22, 2013
a16001b
prep 2.4.2-pre-
erh Mar 22, 2013
ab32409
SERVER-8984: gle c++ client helper should check for command failure
scotthernandez Mar 20, 2013
d54170c
SERVER-9029 Add more informative log message when building unique ind…
stbrody Mar 25, 2013
182955c
SERVER-8720 Memory leak in DBClientReplicaSet::slaveConn
renctan Feb 25, 2013
7ec1528
SERVER-8799: handle symbol BSON type as string in v8
Mar 12, 2013
f928914
SERVER-9088: ensure printjson() doesn't attempt to access DB global
Mar 25, 2013
033f58e
SERVER-9062 don't rely on drem to normalize longitude -- explicitly r…
Mar 25, 2013
27b3840
SERVER-9027: allow dbref shard keys
scotthernandez Mar 22, 2013
fde9ff0
SERVER-9014 Synchronize access to CmdGetNonce::_random.
Mar 20, 2013
719d6d8
SERVER-8999 Read "indexPrefix" correctly in FTSCommand::_run()
jrassi Mar 16, 2013
6f677a8
SERVER-9111 Do not try to find user documents in $CLUSTER or $SERVER …
Mar 28, 2013
4f26c31
SERVER-9085 fix units in tsToSeconds calculation
milkie Mar 25, 2013
7f45f0f
SERVER-8983 Include AuthenticationFailed error code in failed MONGODB…
Mar 27, 2013
9412afa
SERVER-9003 - Display replica set chaining topology in rs.status()
monkey101 Mar 18, 2013
bca711f
SERVER-9139 clean up unsharded cursors in CursorCache
Mar 26, 2013
6d7ac05
SERVER-9139 test cursor cleanup in mongos
Mar 27, 2013
2e87ed1
SERVER-8819 Add to falsy values test and do some cleanup in jstests.cpp
sverch Jan 28, 2013
ffe9de8
SERVER-8819 Framework for testing round trip and test roundtrip of DB…
sverch Feb 15, 2013
9ba7162
SERVER-9082 Accept any valid value in id field of dbref
sverch Mar 28, 2013
85fc274
SERVER-9047 Don't limit line length when reading numa_maps
Mar 29, 2013
198c577
SERVER-9053: ttl: don't delete on non-primaries
scotthernandez Mar 29, 2013
3bf409d
SERVER-9182 Allow restores of dumps containing edited .metadata.json …
jrassi Mar 29, 2013
337b300
SERVER-9186: avoid storing properties on js objects in the getter int…
Mar 29, 2013
e4890bf
SERVER-9185: add v8 GC epligoue stats
Mar 29, 2013
f00104e
SERVER-9124: Avoid raw pointers for SM's nativeHelper
Mar 30, 2013
9e05b38
Reverting SERVER-9186 due to test failures
Mar 30, 2013
f1017ee
SERVER-9066: avoid duplicate JS field names
Apr 1, 2013
0502e6a
SERVER-9174 Race condition on read_pref_rs_client.js after reconfig
renctan Mar 29, 2013
4a472d8
SERVER-7271 Do not exit if a transient config server error aborts a m…
Mar 31, 2013
3bc9328
SERVER-9125 Copy collections faster in the config upgrade procedure
Apr 1, 2013
64ccdfa
SERVER-9054 Update db.help() message for addUser
stbrody Apr 1, 2013
822840b
SERVER-9213: remove v8 ResourceConstraints
Apr 2, 2013
8121217
SERVER-7271 - Fix compile error with ScopedDbConnection
monkey101 Apr 2, 2013
04707f7
SERVER-9229 wait for async deletes to finish before balancer stops, t…
milkie Apr 3, 2013
9a846d8
SERVER-9228 don't return dups when s2cursor yields, delegate to under…
Apr 3, 2013
ee21ceb
SERVER-9230: fix issue causing persistent v8 objects not to be tracked
RedBeard0531 Apr 3, 2013
aefcffa
Use indexed rather than named Set() when converting to v8::Array
RedBeard0531 Apr 3, 2013
219986d
Speed up conversion of v8::Arrays to BSON
RedBeard0531 Apr 3, 2013
1a62390
SERVER-9267 Make readonly v8 objects use same getters as regular lazy…
RedBeard0531 Apr 5, 2013
a3dae84
SERVER-9125 Fix memory ownership during large collection copy
Apr 8, 2013
cde1ad8
SERVER-9286 lowering nested depth
milkie Apr 9, 2013
9f073b6
SERVER-9125 Fixed batch size computation if first doc is large.
Apr 9, 2013
6edf4a7
SERVER-9125 Prevent cursor time out in the case of very slow config s…
Apr 9, 2013
ab76660
SERVER-7271 Improve error reporting when migrate commit fails.
Apr 9, 2013
c6ec08e
SERVER-9312 buildbot sharding_migrateBigObject.js longer timeout for …
Apr 10, 2013
72acf70
BUMP 2.4.2-rc0
monkey101 Apr 10, 2013
0ec9eca
post 2.4.2-rc0
milkie Apr 11, 2013
3e52c1a
BUMP 2.4.2
monkey101 Apr 16, 2013
ccaf58f
post 2.4.2
milkie Apr 18, 2013
6397087
SERVER-9307 initialize session id context to support session caching …
milkie Apr 10, 2013
9d5de58
SERVER-4739 use a thread for logRotate signal instead of a signal han…
milkie Apr 16, 2013
757fe51
SERVER-4739 compile mongos on Windows
milkie Apr 17, 2013
37f2062
SERVER-9214 Extract phrases from text searches as exact substrings
jrassi Apr 3, 2013
be1e22f
SERVER-9214 initialize variable to placate compiler
milkie Apr 3, 2013
036337a
SERVER-9214 Change tolowerString argument type to StringData
jrassi Apr 3, 2013
e01102d
SERVER-9093 Make copydb command work on mongos with auth
stbrody Apr 1, 2013
0239789
SERVER-8420 add a tailcheck to detect cursor deadness
milkie Apr 8, 2013
52c1e65
SERVER-9093 remove unit test in 2.4 branch (needs SERVER-8420)
milkie Apr 18, 2013
0b48ec0
SERVER-9399 Create the right index of config.lockpings.
Apr 18, 2013
022affc
SERVER-9385 Make sure _id fields are extracted from modified lazy V8 …
RedBeard0531 Apr 18, 2013
716d310
SERVER-9089 Check for NULL BSONHolder
RedBeard0531 Apr 18, 2013
7d75e95
BUMP 2.4.3-rc0
monkey101 Apr 18, 2013
139e40b
post 2.4.3-rc0
monkey101 Apr 19, 2013
fe17431
BUMP 2.4.3
monkey101 Apr 22, 2013
dc37aca
Remove FILE_FLAG_WRITE_THROUGH for journal files
May 23, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions buildscripts/packager.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,9 @@ def write_rpm_spec_file(path, spec):
%{_mandir}/man1/mongostat.1*
# FIXME: uncomment when mongosniff is back in the package
#%{_mandir}/man1/mongosniff.1*
#@@VERSION>=2.4.0@@%{_mandir}/man1/mongotop.1*
#@@VERSION>=2.4.0@@%{_mandir}/man1/mongoperf.1*
#@@VERSION>=2.4.0@@%{_mandir}/man1/mongooplog.1*

%files server
%defattr(-,root,root,-)
Expand Down
142 changes: 120 additions & 22 deletions debian/bsondump.1
Original file line number Diff line number Diff line change
@@ -1,30 +1,128 @@
.TH BSONDUMP "1" "March 2011" "10gen" "MongoDB Database"
.TH "BSONDUMP" "1" "March 14, 2013" "2.2.3" "mongodb-manual"
.SH NAME
bsondump \- print BSON documents as JSON
.SH DESCRIPTION
usage: bsondump [options] <bson filename>
options:
bsondump \- MongoDB BSON utility
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
.sp
The \fI\%bsondump\fP converts \fIBSON\fP files into human\-readable
formats, including \fIJSON\fP. For example, \fI\%bsondump\fP is useful
for reading the output files generated by \fBmongodump\fP.
.SH OPTIONS
.INDENT 0.0
.TP
\fB\-\-help\fR
produce help message
.B bsondump
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help
Returns a basic help and usage text.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-verbose, \-v
Increases the amount of internal reporting returned on the command
line. Increase the verbosity with the \fB\-v\fP form by including
the option multiple times, (e.g. \fB\-vvvvv\fP.)
.UNINDENT
.INDENT 0.0
.TP
.B \-\-version
show version information
Returns the version of the \fI\%bsondump\fP utility.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-objcheck
Validates each \fIBSON\fP object before outputting it in
\fIJSON\fP format. By default, \fI\%bsondump\fP enables
\fI\%--objcheck\fP by default. For objects with a high degree of
sub\-document nesting, \fI\%--objcheck\fP can have a small impact
on performance. You can set \fI\%--noobjcheck\fP to disable
object checking.
.sp
Changed in version 2.4: MongoDB enables \fI\%--objcheck\fP by default, to prevent any
client from inserting malformed or invalid BSON into a MongoDB
database.
.UNINDENT
.INDENT 0.0
.TP
\fB\-v\fR [ \fB\-\-verbose\fR ]
be more verbose (include multiple times for more
verbosity e.g. \fB\-vvvvv\fR)
.B \-\-noobjcheck
New in version 2.4.
.sp
Disables the default document validation that \fI\%bsondump\fP
performs on all BSON documents.
.UNINDENT
.INDENT 0.0
.TP
\fB\-\-objcheck\fR
validate object before inserting
.B \-\-filter \(aq<JSON>\(aq
Limits the documents that \fI\%bsondump\fP exports to only those
documents that match the \fIJSON document\fP specified as
\fB\(aq<JSON>\(aq\fP. Be sure to include the document in single quotes to
avoid interaction with your system\(aqs shell environment.
.UNINDENT
.INDENT 0.0
.TP
\fB\-\-filter\fR arg
filter to apply before inserting
.B \-\-type <=json|=debug>
Changes the operation of \fI\%bsondump\fP from outputting "\fIJSON\fP" (the
default) to a debugging format.
.UNINDENT
.INDENT 0.0
.TP
\fB\-\-type\fR arg (=json)
type of output: json,debug
.SH "COPYRIGHT"
.PP
Copyright 2011 10gen
.SH "SEE ALSO"
For more information, please refer to the bsondump page in the MongoDB manual, available at http://dochub.mongodb.org/core/bsondumpmanpage
.B <bsonfilename>
The final argument to \fI\%bsondump\fP is a document containing
\fIBSON\fP. This data is typically generated by
\fBmongodump\fP or by MongoDB in a \fIrollback\fP operation.
.UNINDENT
.SH USAGE
.sp
By default, \fI\%bsondump\fP outputs data to standard output. To
create corresponding \fIJSON\fP files, you will need to use the
shell redirect. See the following command:
.sp
.nf
.ft C
bsondump collection.bson > collection.json
.ft P
.fi
.sp
Use the following command (at the system shell) to produce debugging
output for a \fIBSON\fP file:
.sp
.nf
.ft C
bsondump \-\-type=debug collection.bson
.ft P
.fi
.SH AUTHOR
MongoDB Documentation Project
.SH COPYRIGHT
2011-2013, 10gen, Inc.
.\" Generated by docutils manpage writer.
.
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
mongodb (2.4.0) unstable; urgency=low

* see http://docs.mongodb.org/manual/release-notes/2.4/

-- Richard Kreuter <richard@10gen.com> Fri, 15 Mar 2013 16:56:28 -0500

mongodb (2.2.0) unstable; urgency=low

* see http://docs.mongodb.org/manual/release-notes/2.2/

-- Richard Kreuter <richard@10gen.com> Wed, 29 Aug 2012 16:56:28 -0500

mongodb (2.1.2) unstable; urgency=low

* see http://jira.mongodb.org/browse/SERVER/fixforversion/10894
Expand Down
Loading