Skip to content

Fix get minimum purge seq#1794

Merged
nickva merged 2 commits intomasterfrom
fix-get-minimum-purge-seq
Dec 7, 2018
Merged

Fix get minimum purge seq#1794
nickva merged 2 commits intomasterfrom
fix-get-minimum-purge-seq

Conversation

@davisp
Copy link
Member

@davisp davisp commented Dec 6, 2018

Overview

This fixes a silly mistake of using a clustered _all_docs lookup to get a single design document.

Testing recommendations

Code is covered by make check

Related Issues or Pull Requests

Clustered purge added the bad code.

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;

@tonysun83
Copy link
Contributor

+1

@davisp davisp force-pushed the fix-get-minimum-purge-seq branch from 2d02d73 to 8d94b20 Compare December 6, 2018 17:47
Copy link
Member

@eiri eiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of nibs, but all non material. +1

@jaydoane
Copy link
Contributor

jaydoane commented Dec 6, 2018

All tests passing for me with make eunit. Getting this failure from make check

test/javascript/tests/delayed_commits.js
    Error: Failed to execute HTTP request: Failed to connect to 127.0.0.1 port 15984: Connection refused

from presumably flaky JS test.

@eiri
Copy link
Member

eiri commented Dec 6, 2018

@jaydoane yep, delayed_commits not awesome, see #1704

@jiangphcn
Copy link
Contributor

+1

@davisp davisp force-pushed the fix-get-minimum-purge-seq branch 2 times, most recently from 304ede7 to 4da5dd4 Compare December 7, 2018 21:20
This adds an API call for looking up a single design doc regardless of
whether the database is clustered or not.
The underlying clustered _all_docs call can cause significant extra load
during compaction.
@davisp davisp force-pushed the fix-get-minimum-purge-seq branch from 4da5dd4 to 0a2e8e8 Compare December 7, 2018 22:03
@nickva nickva merged commit 8077afb into master Dec 7, 2018
@wohali wohali mentioned this pull request Feb 7, 2019
@nickva nickva deleted the fix-get-minimum-purge-seq branch December 18, 2019 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants