Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
ea22a7be
Commit
ea22a7be
authored
9 years ago
by
unknown
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/saggarsunil/YCSB
parents
4cfd40f2
42b39f59
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mongodb/src/main/java/com/yahoo/ycsb/db/AsyncMongoDbClient.java
+3
-6
3 additions, 6 deletions
...b/src/main/java/com/yahoo/ycsb/db/AsyncMongoDbClient.java
with
3 additions
and
6 deletions
mongodb/src/main/java/com/yahoo/ycsb/db/AsyncMongoDbClient.java
+
3
−
6
View file @
ea22a7be
...
...
@@ -199,12 +199,9 @@ public class AsyncMongoDbClient extends DB {
try
{
databaseName
=
uri
.
getDatabase
();
if
((
databaseName
==
null
)
||
databaseName
.
isEmpty
())
{
System
.
err
.
println
(
"ERROR: Invalid URL: '"
+
url
+
"'. Must provide a database name with the URI. "
+
"'mongodb://<host1>:<port1>,<host2>:<port2>/database"
);
System
.
exit
(
1
);
// Default database is "ycsb" if database is not
// specified in URL
databaseName
=
"ycsb"
;
}
mongoClient
=
MongoFactory
.
createClient
(
uri
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment