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

Updated CDT op policy: Add list/map NO_FAIL/PARTIAL flags, new map write flags #265

Merged
merged 4 commits into from
Jul 12, 2018

Conversation

jhecking
Copy link
Contributor

  • Add new list policy write flags NO_FAIL & PARTIAL
  • Add new map policy write flags, incl. NO_FAIL & PARTIAL to replace write mode

@jhecking jhecking added this to the v3.5.0 milestone Jul 12, 2018
* Support NO_FAIL & PARTIAL flags for list ops
* Add new write flags to map policy, replacing write mode
* Support NO_FAIL & PARTIAL flags for map ops
The insert-bounded flag for list operations is supported on servers
pre-4.3. But pre-4.3, insertions that result in a bounds violation, are
treated as a no-op and do not return an error. Starting with v4.3, such
bounds violations return an error, unless the no-fail flag is set as
well.
@codecov-io
Copy link

Codecov Report

Merging #265 into master will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
+ Coverage   96.13%   96.35%   +0.21%     
==========================================
  Files          43       43              
  Lines        1397     1399       +2     
==========================================
+ Hits         1343     1348       +5     
+ Misses         54       51       -3
Impacted Files Coverage Δ
lib/lists.js 98.09% <ø> (ø) ⬆️
lib/policies/map_policy.js 100% <100%> (ø) ⬆️
lib/maps.js 95.36% <100%> (+0.03%) ⬆️
lib/policies/list_policy.js 100% <0%> (+75%) ⬆️

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 997ff2c...46acd81. Read the comment docs.

@jhecking jhecking self-assigned this Jul 12, 2018
@jhecking jhecking merged commit 999ea73 into master Jul 12, 2018
@jhecking jhecking deleted the f-cdt-policy branch July 12, 2018 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants