-
Notifications
You must be signed in to change notification settings - Fork 97
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
merge V8, 2.4 aggregation, and commands returning cursors #517
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
leifwalsh
commented
Sep 13, 2013
- Adds the V8 javascript engine as default, fixes possibly move to v8 javascript #161
- Adds aggregation optimizations and refactoring up through 2.4.6, fixes merge aggregation changes up through 2.4 #516
- Adds DBCommandCursor, fixes backport DBCommandCursor #503
Conflicts: src/mongo/db/pipeline/expression.cpp src/mongo/dbtests/expressiontests.cpp
…o shards. Conflicts: src/mongo/db/pipeline/accumulator.cpp src/mongo/db/pipeline/accumulator.h
…ressionFieldRange.
…ressionFieldRange.
…o shards. Conflicts: src/mongo/db/pipeline/accumulator.cpp src/mongo/db/pipeline/accumulator.h
…e from Expression::NE, which is unused and unsupported.
Conflicts: src/mongo/dbtests/expressiontests.cpp
Change lots of code to take <string> arguments by const ref instead of by value; minor changes to surrounding code. Conflicts: src/mongo/client/syncclusterconnection.cpp src/mongo/db/client.cpp src/mongo/db/client.h src/mongo/db/dur.cpp src/mongo/db/dur.h src/mongo/db/durop.cpp src/mongo/db/durop.h src/mongo/db/extsort.cpp src/mongo/db/extsort.h src/mongo/db/geo/core.h src/mongo/db/index_update.cpp src/mongo/db/index_update.h src/mongo/db/memconcept.cpp src/mongo/db/mongommf.cpp src/mongo/db/mongommf.h src/mongo/db/pdfile.cpp src/mongo/db/pdfile.h src/mongo/db/repl.cpp src/mongo/db/repl.h src/mongo/db/repl/health.h src/mongo/db/repl/heartbeat.cpp src/mongo/db/repl/rs_initialsync.cpp src/mongo/platform/strtoll.h src/mongo/s/d_migrate.cpp src/mongo/util/logfile.cpp src/mongo/util/logfile.h src/mongo/util/mmap.cpp src/mongo/util/mmap.h src/mongo/util/mmap_win.cpp
… consist of a single field. Clean up pipeline stage parsing.
Signed-off-by: Tad Marshall <tad@10gen.com> Conflicts: src/mongo/db/btree.h src/mongo/db/diskloc.h src/mongo/db/dur_preplogbuffer.cpp src/mongo/db/dur_recover.cpp src/mongo/db/json.cpp src/mongo/db/namespace_details.h src/mongo/db/record.cpp src/mongo/db/repl.cpp src/mongo/db/repl/rs_rollback.cpp src/mongo/db/repl/rs_sync.h src/mongo/dbtests/jsobjtests.cpp src/mongo/dbtests/perf/btreeperf.cpp src/mongo/dbtests/queryoptimizercursortests.cpp src/mongo/s/d_migrate.cpp src/mongo/s/d_writeback.h src/mongo/util/file_allocator.h
…n now including a few that i made pass Conflicts: src/mongo/db/oplog.cpp src/mongo/db/repl/rs_initialsync.cpp src/mongo/util/hashtab.h
Also allows you to have modules in mongos and the shell, as well as mongod. Requires changes to the modules, to have SConscript files, and define libraries. Allows modules to have unit tests, interesting linking rules, dependencies into mongo, etc. Still may need to do some work on includes. The mongo-enterprise module has very simple include requirements, today. Conflicts: SConscript.buildinfo SConstruct src/mongo/SConscript
Using the following: $ git clone -b 3.12 git://github.com/v8/v8 $ rm -rf \ benchmarks/ \ build/ \ DEPS \ Makefile \ Makefile.android \ preparser/ \ samples/ \ src/arm/ \ src/mips/ \ test/ (Above to reduce directory size from 46M to 13M)
Removed all but the following: - LIBRARY_FLAGS from SConstruct - V8_EXTRA_FLAGS from SConstruct - SOURCES from src/SConscript
These are platform-independent, and were taken from a V8 build of the same version.
Supports [MacOS, Linux, Windows, Solaris, FreeBSD] * [32-bit, 64-bit] * [debug, release]
Conflicts: src/third_party/SConscript
Added mongo_v8 and mongod_v8 projects for building the shell and mongod with V8 instead of SpiderMonkey.
This generates V8's experimental-libraries.cc and libraries.cc as part of the build process.
Make the location of experimental-libraries.cc and libraries.cc match the location where scons creates them. Run the same Python script that scons uses to create the files. Conflicts: .gitignore
…it on 32-bit systems
Reduce the number of documents inserted per iteration from 100,000 to 30,000 in jstests/sharding/mrShardedOutput.js when run on a 32-bit system. Do not print the list of inserted documents when the count is wrong, just display the documents that are missing. Add logging so we can see where we are in the test if something goes wrong.
Move display of MapReduce results to before the assert test to help debugging.
…ulk inserts Also divides batches into sizes manageable by the WBL Conflicts: src/mongo/s/strategy_shard.cpp
…jects Use the toString() method of Error (and derived) objects to convert them to strings in tojson() and related functions. These objects have no enumerable properties, and so display as "{ }" if not handled specially.
Conflicts: src/mongo/db/mongod_v8.vcxproj src/mongo/shell/mongo_v8.vcxproj
It got lost in the merge of 50e9f135
…mongos bulk inserts" This reverts commit 17c3781. Conflicts: src/mongo/s/strategy_shard.cpp
ghost
assigned leifwalsh
Sep 13, 2013
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.