Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #422 from cloudant/421-bulk-latest
Browse files Browse the repository at this point in the history
Add latest flag to _bulk_get calls
  • Loading branch information
rhyshort authored Dec 5, 2016
2 parents a2a8cb3 + f196d9e commit 582cc99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased
- [FIXED] Issue where replicator would not get the latest revision if `_bulk_get`
was available.

# 1.1.4 (2016-11-23)
- [FIXED] Issue performing cookie authentication in version 1.1.3.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ public Iterable<DocumentRevsList> bulkReadDocsWithOpenRevisions(List<BulkGetRequ
boolean pullAttachmentsInline) {
Map<String, Object> options = new HashMap<String, Object>();
options.put("revs", true);
options.put("latest", true);

if (pullAttachmentsInline) {
options.put("attachments", true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ protected PullStrategy getPullStrategy() {
return s;
}

@Ignore //pending resolution of case 79041
@Test
public void testReplicationWithMissingRevision() throws Exception {
// Create doc
Expand Down

0 comments on commit 582cc99

Please sign in to comment.