Граф коммитов

79 Коммитов

Автор SHA1 Сообщение Дата
Govind Kamat c01fd82ac3 [version] update master to 0.12.0-SNAPSHOT. 2016-08-31 16:23:41 -07:00
Sean Busbey 0c319021bb [mongodb] correct placement of xml header on logback configs.
closes #798
2016-07-19 09:26:42 -05:00
Sean Busbey 68dd10c1b4 [version] update master to 0.11.0-SNAPSHOT. 2016-06-21 23:31:56 -05:00
Sean Busbey 2b3203f301 [core,mongodb,jdbc] Merge pull request #755 from enis/jdbc-batching
Add batching in insertion in JDBC client bindings
2016-06-21 16:29:40 -05:00
Enis Soztutar 855e9158e3 [core,mongodb] Moved MongoDb BATCHED_OK Status to core, useful for other bindings as well 2016-06-21 13:56:08 -07:00
Sean Busbey ca1ec19221 Merge pull request #759 from kruthar/mongodb-async-unack
[mongodb] return OK on updates with w=0
2016-06-20 19:28:57 -05:00
kruthar ad98bc505a [mongodb] return OK on updates with w=0 2016-06-02 20:54:42 -05:00
kruthar 5213b9b238 [mongodb] added logback.xml to mongodb module 2016-06-01 22:11:25 -05:00
Stanley Feng d6f73d3680 [version] update master to 0.10.0-SNAPSHOT. 2016-05-04 20:33:11 -07:00
Chrisjan Matser d4e3f60c29 [version] update master to 0.9.0-SNAPSHOT. 2016-04-01 21:58:48 -07:00
Kevin Risden 393c611879 [version] update master to 0.8.0-SNAPSHOT. 2016-02-16 07:34:02 -06:00
Sean Busbey a6c71994e4 [checkstyle] consolidate checkstyle plugin configs. default to enforcing.
- define checkstyle configs in as few places as possible
- use checkstyle:check since it has defaults that match what we want (fail after logging to console)
- modules that have current failures set property checkstyle.failOnViolation to false.
2016-01-27 08:58:53 -06:00
Sean Busbey a5da0860fa Merge pull request #578 from Mike-Petersen/master
Added log4j properties for mongodb to not show debug output as default
2016-01-08 06:49:20 -06:00
Mike Petersen 856f6c12ef [mongodb] Added log4j properties for mongodb to not show debug output as default 2016-01-08 08:06:35 +01:00
Kirill Vlasov 01bacdeadd [mongodb s3 tarantool] Fixing common-java:DuplicatedBlocks - Source files should not have any duplicated blocks 2016-01-02 10:23:03 +05:00
Robert J. Moore 7438fd6298 [mongodb] Update to use BATCHED_OK Status for batched inserts.
This ensures that users do not confuse the results from batched
and non-batched operations.

Closes #522
2015-12-26 12:17:32 -05:00
Bruce Yinhe 3928726d9e Update the documentation for MongoDB. Use YCSB from binary instead 2015-12-20 23:08:33 +01:00
bigbes 253e6bb393 [version] update master to 0.7.0-SNAPSHOT. 2015-12-20 19:44:51 +03:00
Connor McCoy b116ee5a78 [version] update master to 0.6.0-SNAPSHOT. 2015-11-03 20:10:06 -08:00
Connor McCoy 5113c2e3d2 StatusCode -> Status
Replaces numeric status codes with a canonical set of Status objects,
each with a short name and description.
Bindings with more specific errors (e.g., timeouts) return additional
statuses.

This changes the default output from messages like:

   [UPDATE], Return=0, 511

To:

   [UPDATE], Return=OK, 511
2015-11-03 08:33:43 -08:00
Connor McCoy 28a090a729 Add single definition of status codes 2015-11-03 07:00:05 -08:00
Robert J. Moore 7e04261d13 [mongodb] Add mongodb.upsert configuration option.
Added a configuration option (mongodb.upsert) to control if the driver
performs inserts or upserts operations for the DB.insert() method.
Defaults to doing inserts.

Note: Change in behavior from previous versions that performed upserts
for non-batched DB.insert() operations.

Fixes #400.
2015-10-07 23:51:37 -04:00
Robert J. Moore 1eadd68c63 [version] update master to 0.5.0-SNAPSHOT. 2015-09-21 19:42:39 -04:00
Govind Kamat 25502287c5 [licensing] Added ASLv2 headers to files without them. 2015-08-07 10:49:16 -07:00
Robert J. Moore 472beb38d2 [mongodb] Update the pom.xml to make checkstyle fail the build.
Updated code to satisfy the checkstyle validation.

Fixes #365
2015-07-21 23:32:35 -04:00
Govind Kamat 935efc6458 [version] update master to 0.4.0-SNAPSHOT. 2015-07-17 18:48:42 -07:00
Jeff Yemin e28ec24e59 In order to get the tests to pass again, reverted MongoDbClient to use update with upsert instead of insert when batch size is 1. 2015-07-16 21:56:38 -04:00
Jeff Yemin 05baf98274 Added journal=true back into MongoDB connection string. For now, the connection string will contain both "j" and "journal", until such time as the MongoDB Java driver supports "journal". 2015-07-16 21:56:38 -04:00
Jeff Yemin d48f1ce998 Renamed INSERT_MANY_OPTIONS to INSERT_UNORDERED 2015-07-16 21:56:38 -04:00
Jeff Yemin c5ff3bf647 Ensure capacity in results for MongoDBClient.scan 2015-07-16 21:56:38 -04:00
Jeff Yemin 8ae0bd30aa A bit more cleanup of scan and read in MongoDbClient 2015-07-16 21:56:38 -04:00
Jeff Yemin 00f0a91ba2 Simplified setting of read preference and write concern in MongoDbClient 2015-07-16 21:56:38 -04:00
Jeff Yemin bac8b69589 Cleaned up CRUD code for MongoDbClient to improve readability.
Simplified insert CRUD code to always use insertMany even when batchSize == 1,
 as there is no performance penalty for this in the driver.
2015-07-16 21:56:38 -04:00
Jeff Yemin 170b660b43 Fixed incorrect creation of MongoDB URL for mongodb.writeConcern of journaled. 2015-07-16 21:56:38 -04:00
Jeff Yemin 808907d0ab Changed visibility of static field from protected to private in final OptionsSupport class for MongoDB. 2015-07-16 21:56:38 -04:00
Sean Busbey 9bc02d23c0 Merge pull request #301 from saggarsunil/master
[mongodb] update parameter for connection url to match previous behavior and docs.
2015-06-23 22:46:03 -05:00
unknown ea22a7bee0 Merge branch 'master' of https://github.com/saggarsunil/YCSB 2015-06-23 10:14:05 +05:30
saggarsunil 4cfd40f247 [mongodb] update parameter for connection url to match previous behavior and docs.
Changes:
1. mongodb configuration parameter bug (mongodb.url)
2. README file change
3. Some cleanup. Default DB is 'ycsb'
2015-06-22 20:08:00 +05:30
Sean Busbey 9c80044e99 [version] update master to 0.3.0-SNAPSHOT.
As a part of branching to stage 0.2.0 release in #266, set version
for continued development on master branch.
2015-06-19 01:13:13 -05:00
Connor McCoy 423e66feed [docs] Add build instructions to README, update DB-specific build docs. 2015-06-17 11:38:11 -07:00
Sean Busbey 195d6e861c [packaging] refactor packaging to avoid fat-jars.
* remove unused declared deps in a few places
* lex sort modules in top level pom
* update maven plugin versions.
* no more jar-with-dependencies
* set ycsb-core to provided in bindings
* introduce a bindings-parent pom that sets
** stage dependency copy on building binding
** iff binding has a README.md, build a binding-specific dist artifact
* update distribution assembly to
** properly build after modules
** use per-binding sets of dependencies

closes #250
2015-06-17 12:29:36 -05:00
saggarsunil 42b39f591a Changes:
1. mongodb configuration parameter bug (mongodb.url)
2. README file change
3. Some cleanup. Default DB is 'ycsb'
2015-06-16 20:43:26 -05:00
Robert J. Moore 042f1458f8 #284 - Make sure the tests work with a <= 2.4 version of MongoDB. 2015-06-06 14:32:26 -04:00
Robert J. Moore 5a3d9763a0 Fix #284 - Switch to travis starting the test mongod instance. 2015-06-06 14:11:49 -04:00
Robert J. Moore 0a211e2535 Javadoc updates for the test cases. #277. 2015-06-06 08:24:13 -04:00
Robert J. Moore 2a580440b3 Fix #277 - Switch from updateOne to replaceOne to match changed semantics in the
MongoDB 3.0 driver.

Created tests for the basic DB operations.

Updated MongoDB Inc. Driver version to 3.0.2.
2015-06-06 00:23:38 -04:00
Sean Busbey 083db1714c [version] update to 0.2.0-SNAPSHOT.
* Need a SNAPSHOT version because non-SNAPSHOT is reserved for actual releases.
* Increment minor version per pre-1.0 guidelines from the Version Numbers guide

Fixes #236.
2015-05-27 01:15:36 -05:00
Robert J. Moore 6970ee1152 Add majority write concern and deprecated most of the options. Migrated
to the 3.0 driver from MongoDB Inc. and updated to the new Document and
fluent APIs.
2015-05-22 00:16:06 -04:00
Robert J. Moore eaebc71995 Tests and updates for OptionsSupport. 2015-05-22 00:10:33 -04:00
Robert J. Moore d562611006 Bump the MongoDB versions. 2015-05-22 00:10:33 -04:00