Mathias Stearn
c8480344ee
fun with windows
2010-04-02 19:09:56 -05:00
Mathias Stearn
4cd861085b
windows fix
2010-04-02 19:37:43 -04:00
Mathias Stearn
a9382d41f0
Unix socket support (must use --nohttpinterface for now) SERVER-866
2010-04-02 19:26:13 -04:00
Mathias Stearn
b6744bbde6
Replace hardcoded AF_INET with calls to getType()
2010-04-02 19:26:13 -04:00
Mathias Stearn
3f6871c96d
Make SockAddr internals support different types. SERVER-859 SERVER-866
2010-04-02 19:26:13 -04:00
Dwight
ff23d77d07
Merge branch 'master' of git@github.com:mongodb/mongo
2010-04-02 16:43:27 -04:00
Dwight
d1138e570e
cleaning
2010-04-02 16:43:10 -04:00
Mathias Stearn
b85dabdaab
windows fixes
2010-04-02 13:40:19 -05:00
Mathias Stearn
c64dc2337b
winsock2 fix
2010-04-02 13:19:27 -05:00
Eliot Horowitz
6f7f0a92c3
close Listener closing
2010-04-02 14:20:20 -04:00
Mathias Stearn
1d10bf7d5e
Combine SockAddr::localhost() and isLocalHost()
2010-04-02 13:21:27 -04:00
Mathias Stearn
b03cc0e07d
Privatize SockAddr::sa. Banish use of sockaddr_in outside of SockAddr class
2010-04-02 13:21:27 -04:00
Mathias Stearn
d43f194989
Convert SockAddr.sa to sockaddr_storage. prep for SEVER-859
2010-04-02 13:21:27 -04:00
Mathias Stearn
3c53fbaedc
Banish sockaddr_in from everywhere except sock.h. prep for SERVER-859
2010-04-02 13:21:27 -04:00
Mathias Stearn
74ac2df0c7
Delete code thats been commented out for over a year
2010-04-02 13:21:27 -04:00
Dwight
666fb52bdd
abstract out mmf administration
2010-04-02 11:28:32 -04:00
Mathias Stearn
12fa9864c4
pragma once in util/locks.h
2010-04-01 15:41:13 -04:00
Dwight
8657d88065
mmf 3
2010-03-31 16:21:20 -04:00
Dwight
3cb1ef8cd9
make HeaderSize a const
2010-03-31 15:49:28 -04:00
Eliot Horowitz
440388c0de
fix boost lock
2010-03-31 14:44:11 -04:00
Eliot Horowitz
1f4c6e822f
Merge branch 'master' of git@github.com:mongodb/mongo
2010-03-31 14:34:22 -04:00
Eliot Horowitz
e8583f2a6b
switch to pthread_rw lock on support platforms SERVER-824
2010-03-31 14:33:49 -04:00
Dwight
60a659e641
mmf abstraction
2010-03-31 12:45:40 -04:00
Dwight
f70df5352b
cleaning
2010-03-30 10:11:28 -04:00
Aaron
19e879c509
use regular new rather than replacement new in mongo::mutex
2010-03-29 22:52:17 -07:00
Eliot Horowitz
df6709a2da
fix MessagingPort leaking SERVER-777
...
From: Guillaume Delannoy <guillaumedelannoy@ymail.com>
Signed-off-by: Eliot Horowitz <eliot@10gen.com>
2010-03-29 10:11:16 -04:00
Eliot Horowitz
c0f6cf1c90
fix sleepmicros
2010-03-26 23:32:14 -04:00
Eliot Horowitz
31c9358289
fix array numberic sort order SERVER-833
2010-03-26 15:30:29 -04:00
Eliot Horowitz
1e6780f844
can use sharding with SyncClusterConnection for 2 phase commit across 3 servers SHARDING-39
2010-03-22 11:47:37 -04:00
Eliot Horowitz
44dcc1ae77
don't use execinfo on solaris
2010-03-15 17:35:08 -04:00
Mathias Stearn
15249fbfd6
check for fd==0 as in mmap_posix
2010-03-15 16:26:12 -04:00
Mathias Stearn
1fe29d5b7f
Async flush uasserts on windows SERVER-735
2010-03-15 16:26:12 -04:00
Aaron
c457973dc6
SERVER-695 expose boost object to work better with older boost versions
2010-03-15 09:56:10 -07:00
Aaron
c971842a55
Revert "Revert " SERVER-695 don't destroy static global mutexes""
...
This reverts commit eb7cde3e75
.
Conflicts:
db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
31330598f5
don't replicate mr temp tables SERVER-746
2010-03-15 12:29:14 -04:00
Eliot Horowitz
0d779a3fa8
can get progress of index creation through db.currentOp and web console SERVER-707
2010-03-15 11:18:08 -04:00
Eliot Horowitz
be63c9ca50
add time to mongostat
2010-03-12 15:49:21 -05:00
Eliot Horowitz
0797f88800
use BSONObj for params so order is preserved
2010-03-12 15:00:01 -05:00
Eliot Horowitz
77c164408b
move alphabet to .h
2010-03-11 12:24:05 -05:00
Aaron
eb7cde3e75
Revert " SERVER-695 don't destroy static global mutexes"
...
This reverts commit 714ec2fdc8
.
2010-03-10 00:39:26 -08:00
Aaron
26b6ffe30a
Revert " SERVER-695 older boost too"
...
This reverts commit d9b3fbe120
.
2010-03-10 00:39:12 -08:00
Aaron
d9b3fbe120
SERVER-695 older boost too
2010-03-10 00:18:42 -08:00
Aaron
65fa7f9e16
Merge branch 'master' of github.com:mongodb/mongo
2010-03-09 23:59:26 -08:00
Aaron
714ec2fdc8
SERVER-695 don't destroy static global mutexes
2010-03-09 23:59:10 -08:00
Mathias Stearn
ae02e61015
fsync shouldn't be a noop on windows SERVER-728
2010-03-09 21:49:12 -05:00
Aaron
53235fdc36
Merge branch 'master' of github.com:mongodb/mongo
2010-03-08 13:09:10 -08:00
Aaron
cfe99b6363
SERVER-705 check for negative effects of large clock skews, seed last optime using oplog
2010-03-08 12:55:18 -08:00
Dwight
5ddd713d43
keepalive event logged by masters for replication
...
so that repl status is never too stale even when idle
logged every 10 seconds
2010-03-08 15:03:00 -05:00
Eliot Horowitz
fdb5d475f7
OpTime needs to handle clock skew SERVER-703
2010-03-04 23:14:03 -05:00
Mathias Stearn
6c05aebf19
URL decoding for the HTTP/REST server SERVER-625
2010-03-03 22:06:03 -05:00
Mathias Stearn
59de6c4b38
move hex::val to util/hex.h and rename to fromHex
2010-03-03 21:49:50 -05:00
Eliot Horowitz
0a82362581
fix mm option
2010-03-03 17:23:37 -05:00
Aaron
246109cc18
SERVER-652 simplify field name upper limit check, guard against setting string fields in arrays
2010-03-02 13:16:20 -08:00
Aaron
bbbe0aaf31
SERVER-652 process array elements in correct order
2010-03-02 12:29:54 -08:00
Eliot Horowitz
3e36fa8fd4
defensive MINOR
2010-02-26 14:42:11 -05:00
Eliot Horowitz
c3f07f3be0
some missing operators
2010-02-26 12:07:46 -05:00
Eliot Horowitz
066b8376cf
thread safe string
2010-02-26 11:33:20 -05:00
Dwight
32c065676e
Merge branch 'master' of git@github.com:mongodb/mongo
2010-02-23 11:06:53 -05:00
Dwight
eb75c9529f
comments
2010-02-23 11:06:26 -05:00
Eliot Horowitz
221301072d
add # of asserts to serverStatus
2010-02-23 07:51:36 -05:00
Eliot Horowitz
267056081f
don't waste so much memory for small collections
2010-02-20 17:37:12 -05:00
Eliot Horowitz
5383659f5e
use re-usable fast array for sorting in memory
...
30-70% faster SERVER-651
2010-02-20 16:35:26 -05:00
Eliot Horowitz
9c8858d85a
printMemInfo helper, fix darwin virtual size reporting
2010-02-20 16:16:17 -05:00
Mathias Stearn
0bf045c2e1
remove some manual free()s and mixed new/free()
2010-02-12 22:17:31 -05:00
Mathias Stearn
d87a129357
delete unneeded code MINOR
2010-02-12 22:17:30 -05:00
Mike Dirolf
c468109cbe
include body in httpclient POSTs
2010-02-12 14:19:57 -05:00
Eliot Horowitz
2f406ce762
test for http interface
2010-02-12 11:33:07 -05:00
Eliot Horowitz
a4e79e80c2
make sure to use flags for all send/recv ops
2010-02-12 11:07:57 -05:00
Mathias Stearn
72f8e1ae73
fix opToString MINOR
2010-02-11 13:50:34 -05:00
Eliot Horowitz
12a8eee52c
use table in web console for clarity
2010-02-09 10:35:31 -05:00
Eliot Horowitz
ddd617b35a
don't try and accept sockets after socket is closed
2010-02-07 15:41:52 -05:00
Eliot Horowitz
ae5e03de12
fix madvise if
2010-02-04 21:32:38 -05:00
Eliot Horowitz
1916d9347a
Merge branch 'master' of git@github.com:mongodb/mongo
2010-02-04 17:24:33 -05:00
Eliot Horowitz
caadcee6f9
ifdef madvise
2010-02-04 17:24:22 -05:00
Dwight
87d7f0a48f
compile win
2010-02-04 17:17:09 -05:00
Eliot Horowitz
424e7d9585
sequential option for mmap SERVER-607
2010-02-04 17:12:14 -05:00
Dwight
1aad70190a
Merge branch 'master' of git@github.com:mongodb/mongo
2010-02-04 15:46:34 -05:00
Dwight
92e756eabc
background index building
2010-02-04 14:25:49 -05:00
Eliot Horowitz
c39b3ddb54
make allocation handle smaller os buffers
2010-02-04 12:07:33 -05:00
Eliot Horowitz
f7901fdc2c
better errno reporting
2010-02-04 10:59:13 -05:00
Eliot Horowitz
62f47cc910
cleaning up security - moving to centralized location
2010-02-04 10:49:19 -05:00
Mathias Stearn
18404274b5
Fix bug in StringBuilder::str()
...
Old code would implicitly convert the first arg to a string before explicitly
calling the 3-arg constructor. The implicit conversion would fail if the buffer
wasn't NUL terminated.
2010-02-02 18:06:47 -05:00
Aaron
7b2d93d070
Merge branch 'master' of github.com:mongodb/mongo
2010-02-02 09:48:59 -08:00
Aaron
0131eaf887
Add debugging support for multiple destructors, and some guards to prevent this condition from arising
2010-02-01 15:41:04 -08:00
Eliot Horowitz
4f8d71b475
move util/top to db/stats/top
2010-02-01 10:47:28 -05:00
Mathias Stearn
cf92a4b67b
only launch gdbserver if compiled with --gdbserver
2010-01-29 14:24:26 -05:00
Mathias Stearn
58e7807a9b
size_t <-> int changes to fix win64 warnings
2010-01-28 17:33:33 -05:00
Eliot Horowitz
a65e789e1a
final darwing fix MINOR
2010-01-28 15:16:22 -05:00
Eliot Horowitz
51a99bbce0
dawrin MINOR
2010-01-28 15:06:02 -05:00
Eliot Horowitz
4008f94cfc
darwin compile MINOR
2010-01-28 14:58:23 -05:00
Eliot Horowitz
62ab3d3261
win compile MINOR
2010-01-28 14:20:18 -05:00
Eliot Horowitz
efe264364e
add checking to see if a page is in memory to ProcessInfo
2010-01-28 14:14:33 -05:00
Aaron
1666a6507e
disable backtrace scan on freebsd
2010-01-26 10:22:25 -08:00
Dwight
60c2a79e9c
don't use asio for mongos with win vcproj yet
2010-01-26 12:19:14 -05:00
Mathias Stearn
8a31ed49aa
Fix AtomicUInt for old GCC
2010-01-25 22:03:14 -05:00
Mathias Stearn
70b7968668
Pulling atomic functionality from WrappingInt to AtomicUInt. More atomic functions.
2010-01-25 19:33:10 -05:00
Mathias Stearn
4548ba59c9
mongos async: use StickyThreads.
2010-01-25 16:26:03 -05:00
Mathias Stearn
7eb1d29f1b
mongos async: use two IO threads
2010-01-25 16:26:03 -05:00
Mathias Stearn
ab09697687
mongos async: cache remote port
2010-01-25 16:26:03 -05:00
Aaron
16d1616853
SERVER-541 make file allocation start log more precise
2010-01-25 12:11:08 -08:00
Eliot Horowitz
5fa0d5e030
better debugging when can't open streams
2010-01-24 21:05:46 -05:00
dwight
05d80f56d8
don't assert in rawout
2010-01-24 11:05:45 -05:00
Dwight
a5a7815936
inspect NamespaceDetails on load
2010-01-21 13:40:18 -05:00
Eliot Horowitz
693b5980dc
fix hashtable so that deleted entries don't prevent finding later chained entries SERVER-553
2010-01-19 10:58:35 -05:00
Eliot Horowitz
b7b8ac1a43
compile fix for windows SERVER-551
2010-01-19 10:09:13 -05:00
Eliot Horowitz
069d9e9c3c
catch exceptions in webserver SERVER-551
2010-01-19 10:01:15 -05:00
Mathias Stearn
4ea9dde3fb
Provide extra info with db.serverStatus()
2010-01-15 17:55:41 -05:00
Dwight
95ba1b843e
elim warning on windows
2010-01-15 17:16:17 -05:00
Mathias Stearn
42ec730af2
Better VirtualMemorySize on windows
2010-01-15 16:59:39 -05:00
Eliot Horowitz
e33f6fc92f
Merge branch 'master' of git@github.com:mongodb/mongo
2010-01-15 16:11:08 -05:00
Eliot Horowitz
4539b8e7c5
iterall for HashTable
2010-01-15 16:11:00 -05:00
Dwight
cf91f7211a
Merge branch 'master' of git@github.com:mongodb/mongo
2010-01-15 16:05:39 -05:00
Dwight
2628d0213a
refactor and clean up some index building code
...
no longer allow two indexes with same key pattern (with diff names)
2010-01-15 16:05:14 -05:00
Mathias Stearn
32acd37d75
fix uninitialized length for MemoryMapFile on windows.
2010-01-15 15:31:51 -05:00
Dwight
3f6cb1fdcd
browser error msg
2010-01-15 12:52:07 -05:00
Eliot Horowitz
d309bc1b09
use boost sleep on sunos SERVER-548
2010-01-15 08:07:33 -05:00
Eliot Horowitz
eab3b5f06e
use nanosleep on *nix rather than boost, trying to fix os x issue SERVER-539
2010-01-14 15:35:29 -05:00
Eliot Horowitz
a0b4be402d
fix --logappend SERVER-543
2010-01-14 00:08:41 -05:00
Mathias Stearn
8c86bf3456
fix race condition
2010-01-12 13:22:31 -05:00
Mathias Stearn
494d9678b9
Fix race condition. SERVER-532
2010-01-12 13:17:16 -05:00
Aaron
903fb03381
Merge branch 'master' of github.com:mongodb/mongo
2010-01-11 18:20:27 -08:00
Aaron
530c24aa55
MINOR print conflicting port in bind failure log
2010-01-11 18:18:06 -08:00
Mathias Stearn
00b731fa0b
finished threads go to front of line (faster)
2010-01-11 20:47:22 -05:00
Aaron
d377e7ad99
SERVER-228 assert rather than exit when run out of disk space
2010-01-11 11:24:20 -08:00
Eliot Horowitz
cfdca85934
try to fix win64 memory take 3 SERVER-528
2010-01-11 06:44:00 -05:00
Eliot Horowitz
e011523b20
try to fix win64 memory take 2 SERVER-528
2010-01-11 06:38:16 -05:00
Eliot Horowitz
721588bd26
try to fix win64 memory SERVER-528
2010-01-11 06:27:52 -05:00
Eliot Horowitz
b490e0a4ab
make mem info work on win32 SERVER-528
2010-01-10 20:22:17 -05:00
Eliot Horowitz
ce00f71bd4
log() space MINOR
2010-01-10 02:20:37 +01:00
Eliot Horowitz
2d35a54b16
cleaning up listening thread shutdown
2010-01-09 02:58:12 +01:00
Dwight
63c26a96bd
SERVER-521 cursor may be deleted while in getMore
2010-01-06 13:39:57 -05:00
Eliot Horowitz
bf939ef985
help people trying to access http on driver port
2010-01-02 21:41:35 -05:00
Eliot Horowitz
d1b20f280b
append char fix
2010-01-02 17:02:45 -05:00
unknown
84d1ca75f7
SERVER-255 lock on fsync for snapshotting
...
will be doc'd later today
2010-01-02 11:01:47 -05:00
Dwight
b88f54e219
compile windows (vcproj)
2009-12-30 11:59:54 -05:00
Eliot Horowitz
5f36804299
stop using stringstream for logging
2009-12-29 23:30:29 -05:00
Eliot Horowitz
ac84841e63
first checking of simple/fast resettable StringBuilder
2009-12-29 17:32:31 -05:00
Eliot Horowitz
2dcb747bac
option to limit # of connections (threads currently) default 20000 SERVER-471
2009-12-29 14:09:53 -05:00
Eliot Horowitz
315995b8c7
better debugging for weird mmap issue
2009-12-28 17:46:41 -05:00
Eliot Horowitz
d5a5401f9a
use code in getLastError SERVER-112
2009-12-28 17:12:49 -05:00
Eliot Horowitz
fa8961c3e8
Exception classess need codes too SERVER-112
2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e
uassert/massert take error code SERVER-112
2009-12-28 16:43:43 -05:00
Eliot Horowitz
2390b483bc
some additions to Timer
2009-12-27 00:41:30 -05:00
Eliot Horowitz
8a53ffb05c
more Top cleaning
2009-12-25 23:24:37 -05:00
Eliot Horowitz
57137d6aca
some Top refactoring
2009-12-25 22:06:07 -05:00
Mathias Stearn
c7587eac0b
Removing unused header
2009-12-23 16:10:58 -05:00
Eliot Horowitz
16b07128f3
fail faster on bad mmap data
2009-12-23 15:55:07 -05:00
Eliot Horowitz
34ce721624
Merge branch 'master' of git@github.com:mongodb/mongo
2009-12-23 15:30:25 -05:00
Eliot Horowitz
503473112d
when loading js files, only get read access
2009-12-23 15:28:53 -05:00
Mathias Stearn
8c89428182
ASIO mongos now uses a threadpool for database operations.
...
Networking is done in a single thread outside of the pool.
2009-12-23 12:12:39 -05:00
Dwight
15535d0906
compile windows / vcproj
2009-12-22 16:42:49 -05:00
Mathias Stearn
a871f11644
Thread pool
2009-12-22 12:15:52 -05:00
Mathias Stearn
507622d302
Non-blocking tryPut and tryTake
2009-12-22 12:13:58 -05:00
Mathias Stearn
6da4e77c1a
use enum for MVar state
2009-12-22 12:13:58 -05:00
Eliot Horowitz
bbd33359d9
Merge branch 'master' of git@github.com:mongodb/mongo
...
Conflicts:
util/mmap_posix.cpp
2009-12-21 10:06:52 -05:00
Eliot Horowitz
8f1e01b0e4
macro for errno so messages are consistent and have full debugging
2009-12-21 10:06:14 -05:00
Eliot Horowitz
9935b7904b
nicer error message
2009-12-20 07:19:48 -05:00
Dwight
9a7f5fb2d0
comment
2009-12-18 17:47:40 -05:00
Mathias Stearn
ee53e7ec8b
MVar synchronization primitive
2009-12-16 14:38:05 -05:00
Mathias Stearn
82ff909758
readability
2009-12-14 17:06:10 -05:00
Eliot Horowitz
eed9fe77cd
win compile
2009-12-14 09:56:24 -05:00
Eliot Horowitz
0196d8c583
better handling of invalid logpath setting SERVER-482
2009-12-14 09:51:06 -05:00
Mathias Stearn
290694e153
My favorite debugging macros
2009-12-11 14:29:10 -05:00
Mathias Stearn
f64ec0964a
Silence warnings
2009-12-09 15:02:42 -05:00
Mathias Stearn
dcf3a10eea
Start using Date_t. Can anyone think of a better name?
2009-12-09 12:00:17 -05:00
Dwight
0e2a11a69a
make lastAssert threadsafe
2009-12-08 14:34:09 -05:00
Eliot Horowitz
066236ad58
debugging
2009-12-06 01:01:07 -05:00
Eliot Horowitz
856ebf9127
make msgassert print stack trace - maybe get rid of, not sure
2009-12-06 00:41:02 -05:00
Eliot Horowitz
d6c69369c0
make quiet suppress connection warnings SERVER-455
2009-12-03 22:44:34 -05:00
Dwight
48217c0650
some mongomutex cleanup
2009-12-03 13:48:45 -05:00
Mathias Stearn
f610e9f657
__MSVC__ -> _WIN32
2009-12-02 12:53:48 -05:00
Mathias Stearn
01d596cfe4
typo: MSCV -> MSVC
2009-12-02 12:33:14 -05:00
Mathias Stearn
f5c9a86b92
Atomic increment (try 3)
2009-12-02 12:17:47 -05:00
Mathias Stearn
c0e79bf1d4
removing atomic increment for now
2009-12-01 20:25:48 -05:00
Mathias Stearn
31723f3d28
working atomic increment
2009-12-01 20:08:34 -05:00
Mathias Stearn
7133196d6b
Make OID and MSGID increments atomic
2009-12-01 19:29:08 -05:00
Eliot Horowitz
7564ceb774
better 32-bit error message
2009-12-01 16:48:40 -05:00
Eliot Horowitz
c72e870657
debugging for SHARDING-40 and SERVER-440
2009-12-01 12:25:48 -05:00
Dwight
25bb636eb4
some initial visual studio 2010 support
2009-11-30 12:09:39 -05:00
Eliot Horowitz
d7280381df
some threadsafety on memory mapped file static methods
2009-11-30 10:52:02 -05:00
Eliot Horowitz
314d24240c
cleaning
2009-11-24 15:42:52 -05:00
Eliot Horowitz
0f5848f398
better message debugging
2009-11-24 13:55:46 -05:00
Eliot Horowitz
d51dce22b3
fix SockAddr::toString
2009-11-24 13:38:57 -05:00
Eliot Horowitz
07821d91c3
Timer::seconds
2009-11-19 11:19:40 -05:00
Eliot Horowitz
63fa175a9b
better failure message
2009-11-17 10:17:07 -08:00
Mathias Stearn
df71e4dcdc
match free to malloc
2009-11-14 22:11:15 -05:00
Eliot Horowitz
f9d031f12c
fsync command part of SERVER-255
2009-11-11 13:41:45 -05:00
Eliot Horowitz
9f77794640
MemoryMappedFile::flushAll
2009-11-11 13:02:04 -05:00
Eliot Horowitz
37baf952b8
sleepmicros
2009-11-03 22:53:18 -05:00
Mathias Stearn
80edd9e5cf
Pull launchGDB out to debug_util.cpp
2009-11-03 16:39:55 -05:00
Mathias Stearn
39a66ce531
Remove debugging couts
2009-11-03 01:56:40 -05:00
Mathias Stearn
526e514bff
assert and massert now trigger breakpoint()
2009-11-02 18:56:29 -05:00
Mathias Stearn
bf2467973f
Make breakpoint() safe to call anywhere.
2009-11-02 18:56:29 -05:00
Mathias Stearn
d7c527d437
pull EmbeddedBuilder to its own file
2009-11-02 13:32:20 -05:00
Mathias Stearn
9ecceafbca
Add breakpoint functions (*nix only)
2009-11-01 23:29:20 -05:00
Dwight
a03aecb988
Merge branch 'master' of git@github.com:mongodb/mongo
2009-10-28 13:41:06 -04:00
Mathias Stearn
d27c8505ea
all client files now marked as Apache 2.0. SERVER-329 .
2009-10-27 15:59:37 -04:00
Dwight
31a1b75aa3
slightly better error message when problem opening files
2009-10-27 14:25:45 -04:00
Eliot Horowitz
52333b5e73
cute hack so log() works before startup is finished
2009-10-21 16:40:31 -04:00
Dwight
a606c7a6b8
cleanup/prep for # of indexes work
2009-10-19 16:53:58 -04:00
metagoto
14cd7183e6
quick fix for global namespace pollution (mostly client)
2009-10-18 09:39:08 +08:00
Eliot Horowitz
e401ac9c35
win32 fix
2009-10-16 12:54:31 -04:00
Eliot Horowitz
d8235205f5
log rotation with USR1 signal SERVER-358
2009-10-16 12:46:06 -04:00
Eliot Horowitz
e48db1f60a
replace cerr with cout for all server files
2009-10-16 11:39:59 -04:00
Eliot Horowitz
543ce2b8a5
clean logpath code
2009-10-16 11:31:49 -04:00
Eliot Horowitz
166c722630
make logpath use FILE/fopen instead of open - should work on windows SERVER-339
2009-10-16 10:56:15 -04:00
Dwight
5696d65d83
Merge branch 'master' of git@github.com:mongodb/mongo
2009-10-15 16:47:48 -04:00
Dwight
f152047f19
fix assert to use ours and thus make unit test pass
2009-10-15 16:47:35 -04:00
Eliot Horowitz
98d994eb51
get rid of warning in linux process info thing
2009-10-15 16:19:25 -04:00
Mathias Stearn
0abfa82d54
GCC4.4 doesn't like char array subscripts
2009-10-15 16:14:20 -04:00
Dwight
06aa85b12e
this not good with unit test
2009-10-14 16:34:25 -04:00
Dwight
ddcf5eeb32
refactor a little
2009-10-14 16:29:32 -04:00
Dwight
c43df1e575
make Top threadsafe
2009-10-14 15:48:13 -04:00
Dwight
2d934d1006
move curNs to Client object
2009-10-13 16:01:02 -04:00
Dwight
1083a425c2
ThreadLocalInt prettier
2009-10-13 12:55:23 -04:00
Eliot Horowitz
e6069e40d9
make assert use mongo::asserted so it'll work even with out using namepsace SERVER-289
2009-10-08 16:35:15 -04:00
Eliot Horowitz
a54742b3de
make mongoimportjson not crash with small objects, some ProgressMeter enhancements SERVER-342
2009-10-08 10:11:26 -04:00
Eliot Horowitz
9e7a31fae1
Merge branch 'master' of git@github.com:mongodb/mongo
...
Conflicts:
db/dbcommands.cpp
2009-10-07 12:46:02 -04:00
Eliot Horowitz
b733978054
MemoryMappedFile::getTotalMapped
2009-10-07 12:42:43 -04:00
Dwight
9589c84edf
killOp() wasn't working with validate
2009-10-07 11:51:13 -04:00
Dwight
0c9212038d
small cleanups
2009-10-06 16:17:11 -04:00
Eliot Horowitz
727fc307f9
more verbose shutdown logging to try and figure out why shutdown is very slow sometimes
2009-10-05 15:09:52 -04:00
Eliot Horowitz
27fd0a7a9f
more ProgressMeter to public place
2009-10-05 15:09:18 -04:00
Eliot Horowitz
86e9a31716
better debugging for assertions
2009-10-01 10:41:15 -04:00
Eliot Horowitz
9c83a9e08c
win compile
2009-10-01 10:12:16 -04:00
Eliot Horowitz
1f622ad076
finish getting rid of boost base64
2009-10-01 09:49:17 -04:00
Eliot Horowitz
1bb3d4a004
fix base64 issue
2009-10-01 01:26:19 -04:00
Eliot Horowitz
f7bfd1192c
base64 decode
2009-09-30 23:32:28 -04:00
Eliot Horowitz
fdd776a50a
simple base64::encode
2009-09-30 23:08:33 -04:00
unknown
7153023470
win pre-compild headers
2009-09-30 14:32:17 -04:00
Eliot Horowitz
4fc1b55e0d
cleaning MINOR
2009-09-21 20:32:17 -04:00
Dwight
6bbaf0fdc3
better unit tests for unique indexes and dropDup : true on indexing
2009-09-21 16:31:00 -04:00
Dwight
71af757e56
use posix_fadvise when we populate a new datafile
2009-09-21 10:05:03 -04:00
Eliot Horowitz
18b1091e01
remotePort
2009-09-17 15:19:57 -04:00
Eliot Horowitz
5738f9158d
make easier to compile things on windows MINOR
2009-09-16 16:01:07 -04:00
Eliot Horowitz
7d88c583cf
fix warning on *nix
2009-09-16 15:42:42 -04:00
Eliot Horowitz
e6333cafc5
make timer use 64-bits SERVER-249
2009-09-16 15:42:26 -04:00
Eliot Horowitz
4df046f5b0
getClientId()
2009-09-14 11:33:35 -04:00
Eliot Horowitz
335d92c443
client id work and make getLastError work non sharded-collections in sharding, but with connection pooling SHARDING-16
2009-09-11 16:14:14 -04:00
Eliot Horowitz
378356ccbc
make lastError able to work with ids, rather than just tl
2009-09-11 11:56:57 -04:00
Eliot Horowitz
0d399715ac
include cleaning
2009-09-09 13:38:58 -04:00
dwight
b8d458bfec
improve how we handle concurrency with logging
2009-09-03 15:16:04 -04:00
dwight
e58c6eaf7f
Merge branch 'master' of git@github.com:mongodb/mongo
...
Conflicts:
util/log.h
2009-09-03 15:01:42 -04:00
dwight
93f07dbc7d
interim ocmmit of new logging stuff
2009-09-03 14:58:05 -04:00
Eliot Horowitz
cf46ccabe4
fix logstream and shared_ptr
2009-09-03 13:37:20 -04:00
dwight
2470913c70
change to NullStream
2009-09-03 13:11:30 -04:00
Dwight
3dbc214789
Merge branch 'master' of git@github.com:mongodb/mongo
2009-09-01 10:31:31 -04:00
Dwight
8de1e62a37
minor comments
2009-09-01 10:31:12 -04:00
Eliot Horowitz
e277dffe54
remove c depends
2009-08-28 11:57:09 -04:00
Eliot Horowitz
7a1a7fe021
some solaris fixes
2009-08-28 11:50:20 -04:00