Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTEGRATION [PR#1399 > development/8.1] bugfix: S3C-4275 enable skip-scan for DelimiterVersions with a delimiter #1401

Conversation

bert-e
Copy link
Contributor

@bert-e bert-e commented Apr 10, 2021

This pull request has been created automatically.
It is linked to its parent pull request #1399.

Do not edit this pull request directly.
If you need to amend/cancel the changeset on branch
w/8.1/bugfix/S3C-4275-versionListingWithDelimiterInefficiency, please follow this
procedure:

 $ git fetch
 $ git checkout w/8.1/bugfix/S3C-4275-versionListingWithDelimiterInefficiency
 $ # <amend or cancel the changeset by _adding_ new commits>
 $ git push origin w/8.1/bugfix/S3C-4275-versionListingWithDelimiterInefficiency

Please always comment pull request #1399 instead of this one.

jonathan-gramain and others added 4 commits April 9, 2021 16:32
Increase coverage for DelimiterVersions listing algorithm to have it
in par with DelimiterMaster before attempting a fix: most existing
tests from DelimiterMaster have been copied and adapted to fit the
DelimiterVersions logic.
Enable the skip-scan optimization to work for DelimiterVersions
listing algorithm when used with a delimiter.

For this to work, instead of returning FILTER_ACCEPT when encountering
a version that matches the master key (which resets the skip-scan
counter), return FILTER_SKIP to let the skip-scan counter increment
and eventually skip the entire listed common prefix after 100 entries.
…' into tmp/octopus/w/7.10/bugfix/S3C-4275-versionListingWithDelimiterInefficiency
…iciency' into tmp/octopus/w/8.1/bugfix/S3C-4275-versionListingWithDelimiterInefficiency
@codecov-io
Copy link

Codecov Report

Merging #1401 (274bf80) into development/8.1 (25bd1f6) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           development/8.1    #1401      +/-   ##
===================================================
+ Coverage            58.50%   58.55%   +0.04%     
===================================================
  Files                  181      181              
  Lines                11701    11701              
===================================================
+ Hits                  6846     6851       +5     
+ Misses                4855     4850       -5     
Impacted Files Coverage Δ
lib/algos/list/delimiterMaster.js 100.00% <ø> (ø)
lib/algos/list/delimiterVersions.js 93.40% <100.00%> (+5.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25bd1f6...274bf80. Read the comment docs.

@bert-e bert-e merged commit a1c0dd2 into development/8.1 Apr 14, 2021
@bert-e bert-e deleted the w/8.1/bugfix/S3C-4275-versionListingWithDelimiterInefficiency branch April 14, 2021 01:21
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.

3 participants