0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

74 Commits

Author SHA1 Message Date
agirbal
5cc563b581 - Added option for read only objects in JS invoke method
- map function uses RO input object which speeds up MR quite a bit
- added a flag in RO objects so that the BSON can be used as is when converting back
2011-05-25 17:41:40 -07:00
agirbal
8d13203c40 SERVER-2976: added M/R pure jsMode with collection output 2011-05-10 15:30:01 -07:00
agirbal
04d364a44d SERVER-2579: optimize append() method to use same BSONObj builder throughout process 2011-05-02 16:08:41 -07:00
agirbal
1725803c20 SERVER-2579: all v8 object creation is now lazy.
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.

Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
Eliot Horowitz
e46920d6b3 starting to work on sharding helper (sh) 2011-04-14 20:00:18 -04:00
Eliot Horowitz
7efbe7b799 move list of files outside of .h 2011-04-14 20:00:18 -04:00
Eliot Horowitz
fbbd3785a8 better error handling in loading system.js. 2011-04-11 14:22:12 -04:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
agirbal
378ba71fd2 [SERVER-2284]: operations using system.js collection (group, mapred, where) always fail the 1st time on slave 2010-12-23 17:39:22 -08:00
Eliot Horowitz
c022b54c08 init( BSONObj* ) can be const * 2010-12-15 09:50:35 -05:00
Eliot Horowitz
4e51d779c6 fix comment parsing in v8 2010-11-29 01:50:57 -05:00
Aaron
d2249cdf68 SERVER-387 enable interrupts for v8 2010-09-23 15:42:24 -07:00
Aaron
8c82a9c5c6 SERVER-387 support killop with db.eval 2010-09-14 17:01:01 -07:00
Eliot Horowitz
b416e09061 Scope::rename and ability to block db access prep for SERVER-1715 2010-09-01 01:32:35 -04:00
Alberto Lerner
7a7cc4adfa SERVER-1452 StringData-ing up, c_str()-ing down 2010-08-18 18:12:31 -04:00
Eliot Horowitz
c862acf33d lower log verbosity when timing out cursors with $where 2010-08-18 10:24:10 -04:00
dwight
480205ff38 elim warnings windows 2010-08-11 23:05:50 -04:00
Mathias Stearn
26677a17a4 actual typo fix 2010-08-11 20:23:28 -04:00
Mathias Stearn
3fcfa3ba16 ignore first line if starts with shebang SERVER-1536 2010-08-11 19:38:13 -04:00
Mathias Stearn
39cfee21a3 plug leak in Scope::execFile 2010-08-11 19:38:13 -04:00
Mathias Stearn
06cb7f821f use StringData for hardcoded JS files 2010-08-10 14:44:10 -04:00
Dwight
08eaec0599 check for null return from query() 2010-08-02 14:44:53 -04:00
Eliot Horowitz
4e4a4959a8 some log cleaning 2010-07-25 11:51:34 -04:00
Eliot Horowitz
dd5dd04eb6 append for Code in scripting engine SERVER-1293 2010-06-24 21:35:06 -04:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
48d2acc0de fix where on v8 SERVER-864 2010-04-08 15:26:12 -04: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
Aaron
cd1dfe32b0 Revert "Revert "SERVER-305 record uri on connect""
This reverts commit 149248b4eb.
2010-02-22 12:08:54 -08:00
Aaron
149248b4eb Revert "SERVER-305 record uri on connect"
This reverts commit ae80a66ff8.
2010-02-22 11:40:47 -08:00
Aaron
ae80a66ff8 SERVER-305 record uri on connect 2010-02-22 10:32:55 -08:00
Eliot Horowitz
df9e034ad3 add _id to system. collections if they are legal client namespaces 2010-02-07 02:04:19 -05:00
Eliot Horowitz
4afc973c3e attempt to fix weird index issue 2010-02-07 01:58:31 -05:00
Eliot Horowitz
6c6d40a375 moving some globals into a common file 2010-02-07 01:38:54 -05:00
Eliot Horowitz
efc3bd2a93 handle read-only lock case 2010-02-07 01:28:36 -05:00
Eliot Horowitz
1342db6674 clean up scope from things removed from system.js SERVER-602 2010-02-07 01:10:12 -05:00
Eliot Horowitz
656cd3a9f4 make sure have _id index on system.js SERVER-609 2010-02-07 00:49:47 -05:00
Aaron
39e349743a SERVER-512 MINOR looks like scope cache not used in shell, and releasing mutex is causing problems on server 2010-01-25 11:39:28 -08:00
Aaron
1664c3da4f SERVER-512 prevent ugly boost assert on shell shutdown 2010-01-25 10:27:21 -08:00
Aaron
54fd59f6e1 MINOR initialize callback 2009-12-29 20:23:33 -08:00
Aaron
8573d53da7 SERVER-470 MINOR abstract shell init functionality so v8_utils need not link with shell 2009-12-29 18:27:49 -08:00
dwight
6f4bfb2e14 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	SConstruct
	db/dbinfo.h
2009-12-29 13:45:46 -05:00
dwight
24e2542d95 remove dbinfo.h/cpp 2009-12-29 13:42:45 -05:00
Mathias Stearn
959fc2c674 mongo shell can now take a directory and run all *.js files in it 2009-12-28 19:00:33 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
503473112d when loading js files, only get read access 2009-12-23 15:28:53 -05:00
Aaron
bbcc6c1d0c SERVER-446 extract object id string validation to general engine layer 2009-12-21 17:03:12 -08: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
Eliot Horowitz
415cb5e867 remove include 2009-12-04 09:53:05 -05:00