Dwight
43fb9be758
elim warnign on widnwos
2010-04-05 14:24:09 -04:00
Mathias Stearn
caf3617fc5
windows fixes
2010-04-05 14:11:40 -04:00
Mathias Stearn
41e683a2a5
Better IPv6 for SockAddr
2010-04-05 12:59:22 -04:00
Mathias Stearn
66a489efcc
Combine init() and listen()
2010-04-05 10:52:38 -04:00
Mathias Stearn
abfa039e22
Move code from sock.h to sock.cpp MINOR
2010-04-05 10:52:38 -04:00
Mathias Stearn
61e921730c
Make Listener register socket with ListeningSockets
2010-04-05 10:52:38 -04:00
Mathias Stearn
163c040888
Make MiniWebServer inherit from Lister
2010-04-05 10:52:38 -04:00
Mathias Stearn
5a30852961
Stop recycling SockAddrs
2010-04-02 21:28:55 -04:00
Mathias Stearn
06d8b84a13
Better handling of unset SockAddrs
2010-04-02 21:26:57 -04:00
Mathias Stearn
ec5293b1ce
more fun with windows
2010-04-02 19:24:08 -05:00
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