Andrea Maria Piana
e82c06607b
SERVER-16720 updated awk regexp to support inline pidFilePath and dbPath syntax
...
Closes #899
Signed-off-by: Benety Goh <benety@mongodb.com>
2015-01-05 14:41:19 -05:00
Siyuan Zhou
5c3e3df015
SERVER-16660 Add comments to sharding_system_namespaces.js
2015-01-05 14:35:25 -05:00
Kaloian Manassiev
12d82c7410
SERVER-16591 Get rid of _collectionsLock in the database catalog
...
This lock is not needed anymore since any modifications to the set of
collections are done with the database X lock held.
2015-01-05 13:59:47 -05:00
Kaloian Manassiev
a55a7b936e
SERVER-16591 Clean up MMAPV1DatabaseCatalogEntry initialization
2015-01-05 13:59:46 -05:00
Scott Hernandez
f6abd4665a
SERVER-16711 : no_db_created test
2015-01-05 13:59:19 -05:00
Akira Kurogane
e578d9ec13
SERVER-16716 (v8-3.25) Removing host string arg length limitation for mongo shell
...
Closes #898
Signed-off-by: Benety Goh <benety@mongodb.com>
2015-01-05 13:48:39 -05:00
Akira Kurogane
b3d1c67e9b
SERVER-16716 Removing host string arg length limitation for mongo shell
...
Closes #898
Signed-off-by: Benety Goh <benety@mongodb.com>
2015-01-05 13:48:39 -05:00
Siyuan Zhou
780c6856b8
SERVER-16660 sharding_system_namespaces.js incorrectly assumes that mongod supports wiredTiger
2015-01-05 13:42:57 -05:00
alabid
5762092428
SERVER-16718 remove LogIndentLevel from log.h/log.cpp
...
Closes #900
Signed-off-by: Benety Goh <benety@mongodb.com>
2015-01-05 11:35:58 -05:00
Scott Hernandez
d6aca8833c
SERVER-16711 : do not create db for collmod if missing db/collection
2015-01-05 11:31:40 -05:00
Scott Hernandez
3753b08103
SERVER-16711 : do not create db for compact if missing db/collection
2015-01-05 11:31:40 -05:00
Scott Hernandez
89d0389099
SERVER-16711 : do not create db on dropIndexes if no db/collection
2015-01-05 11:31:40 -05:00
Jiri Tyr
f96a473723
Prevent init.d script to fail when pidfilepath isn't configured
...
This change moves the PIDFILEPATH definition behind the sourcing of the
sysconfig file to prevent the init.d script to fail when there is no
pidfilepath defined in the config file. It is still possible to define
it in the sysconfig file.
Closes #895
Signed-off-by: Benety Goh <benety@mongodb.com>
2015-01-05 11:09:52 -05:00
matt dannenberg
20fa913b96
SERVER-16719 remove assumption about which node will become primary from multiVersion/zero_vote_arbiter_multiversion.js
2015-01-05 04:56:59 -05:00
Michael Cahill
53d7bce974
SERVER-16667 Fix WT truncate of all records in a capped collection.
2015-01-03 10:32:04 +11:00
Kaloian Manassiev
3bc56205c7
SERVER-16065 Get rid of the groupCommit method
2015-01-02 15:36:29 -05:00
Benety Goh
132bf006d7
SERVER-16483 add namespace to warning message in CollectionScan::restoreState
2015-01-02 15:05:25 -05:00
Matt Kangas
68193a0bc5
Import wiredtiger-wiredtiger-2.5.0-25-gf1de8c2.tar.gz from wiredtiger branch mongodb-2.8
2015-01-02 14:38:44 -05:00
Scott Hernandez
bd22baf9ad
SERVER-16502 : better logging for kv_catalog collection metadata
2015-01-02 14:21:09 -05:00
Scott Hernandez
8384c878b5
SERVER-16502 : make getCollection const and not require an OpContext
2015-01-02 14:21:08 -05:00
Scott Hernandez
8b37507dd5
SERVER-16502 : open database after repair is done
2015-01-02 14:21:08 -05:00
Scott Hernandez
430bafbd86
SERVER-16502 : create CollectionInfoCache on Collection construction
2015-01-02 14:21:08 -05:00
Scott Hernandez
8bedd077ee
SERVER-16502 : do not lazy init mmapv1 db catalog
2015-01-02 14:21:08 -05:00
Scott Hernandez
33baf3ab68
SERVER-16502 : do not create db on drop
2015-01-02 14:21:07 -05:00
Scott Hernandez
f3557df19c
SERVER-16502 : don't init Collections lazily
2015-01-02 14:21:07 -05:00
Scott Hernandez
7791afd967
SERVER-16502 : only check locking if ns is full
2015-01-02 14:21:07 -05:00
Mark Benvenuto
f145891370
SERVER-16005 : Improve startup message around wt sharing violation
2015-01-02 14:02:24 -05:00
Mark Benvenuto
e1c1f7d576
SERVER-16614 : Allow Side-By-Side Install of 2.6 & 2.8 MSIs
2015-01-02 14:02:12 -05:00
Kaloian Manassiev
0d93899c90
SERVER-16065 Cleanup the MMAP V1 durability code
...
No functional changes, just organizing declarations and cleaning up
includes.
2015-01-02 10:30:34 -05:00
Michael Cahill
2f6817253e
SERVER-16667 Only truncate if we find some documents.
2015-01-02 16:06:46 +11:00
Michael Cahill
1b522cf574
SERVER-16667 Faster capped collections in WT.
...
Use a single WiredTiger truncate operation rather than multiple delete
operations to delete from a capped collection.
2015-01-02 15:24:19 +11:00
Eliot Horowitz
d3e04458eb
SERVER-16632 : fix os x compile with signed/unsigned
2014-12-31 15:02:56 -05:00
Eliot Horowitz
23dc8ce626
SERVER-16632 : use KeyString for WiredTiger index keys
2014-12-31 13:46:49 -05:00
Eliot Horowitz
24706753ff
SERVER-16632 : introduct KeyString, a memcmpable version of a index key
2014-12-31 13:43:05 -05:00
alabid
c8c43855e1
SERVER-16695 Move FSM tests into new test suites
...
Closes #893
Signed-off-by: Benety Goh <benety@mongodb.com>
2014-12-31 10:11:12 -05:00
Eliot Horowitz
2c3dea56d4
SERVER-16351 : make sure when we swap out recovery units, we don't commit active transactions
2014-12-31 00:22:40 -05:00
David Storch
2ec561b999
SERVER-16577 fix test for queryPlanner.indexFilterSet explain field
2014-12-30 23:45:45 -05:00
David Storch
55871360da
SERVER-16577 add queryPlanner.indexFilterSet field to new explain format
2014-12-30 17:14:42 -05:00
Kaloian Manassiev
20af9c7962
SERVER-16694 Include exit.h in ntservice.cpp
2014-12-30 16:46:10 -05:00
Eric Milkie
7dc989123b
SERVER-16694 check for shutdown definitively in bgsync
2014-12-30 16:23:26 -05:00
Andrew Morrow
0777616ff7
SERVER-16200 Improve LTO integration for gcc and clang
2014-12-30 14:11:20 -05:00
Mark Benvenuto
4580fe1b3e
SERVER-16061 : remove "text" command
2014-12-30 11:52:20 -05:00
Eric Milkie
3a06b24bc5
SERVER-16568 "none" is now supported as a valid compressor option
2014-12-29 16:57:49 -05:00
Andy Schwerin
cf2fc69b4c
SERVER-16651 Ensure that single-node replica sets pass through SECONDARY on way to PRIMARY.
...
Before this patch, such sets would transition directly from RECOVERING to
PRIMARY at start-up, which is not a valid arc in the state transition diagram
for replica set member states.
This patch also consolidates the logic for transitioning from SECONDARY to
PRIMARY in one place and resolves some minor concurrency and consistency errors
therein.
2014-12-29 15:56:34 -05:00
Andy Schwerin
acc0baca79
SERVER-16651 Avoid global lock acquisition in tryToGoLiveAsASecondary() if a primary or secondary.
...
Only nodes in state RECOVERING will attempt a state transition in
tryToGoLiveAsASecondary(), and we have a lock-free way to check if a node is in
one of those two states. The danger of asking the question, "is this node in
either primary or secondary state?" without holding the global lock is that the
answer might change at any time. However, only tryToGoLiveAsASecondary() causes
it to transition from "no" to "yes", and if it transitions from "yes" to "no",
we know that tryToGoLiveAsASecondary() will be called again promptly.
2014-12-29 15:56:10 -05:00
Kaloian Manassiev
8f83ff2335
SERVER-16431 Enable yielding for all storage engines
2014-12-29 13:52:06 -05:00
Spencer Jackson
d9ac3cfb45
SERVER-16615 : Fix mmapv1 repairDatabase for long db paths
2014-12-29 13:28:26 -05:00
Guang Yang
6bc9cbce11
SERVER-16682 Remove replicate include sys/socket.h
...
Closes #892
Signed-off-by: Benety Goh <benety@mongodb.com>
2014-12-29 09:15:50 -05:00
Spencer T Brody
b0014456dd
SERVER-16635 Make sharding/mongos_no_replica_set_refresh.js agnostic to who is elected primary (take 2)
2014-12-24 16:58:23 -05:00
Spencer T Brody
9d5ec8f203
SERVER-16649 Wait for replication in mongos_rs_{auth_}shard_failure_tolerance.js tests
2014-12-24 16:58:23 -05:00