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
ca1ec192
Commit
ca1ec192
authored
8 years ago
by
Sean Busbey
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #759 from kruthar/mongodb-async-unack
[mongodb] return OK on updates with w=0
parents
28703c74
ad98bc50
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
+1
-1
1 addition, 1 deletion
...b/src/main/java/com/yahoo/ycsb/db/AsyncMongoDbClient.java
with
1 addition
and
1 deletion
mongodb/src/main/java/com/yahoo/ycsb/db/AsyncMongoDbClient.java
+
1
−
1
View file @
ca1ec192
...
...
@@ -462,7 +462,7 @@ public class AsyncMongoDbClient extends DB {
}
final
long
res
=
collection
.
update
(
query
,
update
,
false
,
false
,
writeConcern
);
return
res
==
1
?
Status
.
OK
:
Status
.
NOT_FOUND
;
return
writeConcern
==
Durability
.
NONE
||
res
==
1
?
Status
.
OK
:
Status
.
NOT_FOUND
;
}
catch
(
final
Exception
e
)
{
System
.
err
.
println
(
e
.
toString
());
return
Status
.
ERROR
;
...
...
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