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

Existence Invariants #27

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Existence Invariants #27

merged 3 commits into from
Sep 7, 2023

Conversation

bbengfort
Copy link
Contributor

Adds existence invariants to writes, e.g. requiring that the object does not exist before a write (create, delete check?) or that it does exist before a write (update, ensure delete).

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #27 (bd1ff51) into main (9966c0c) will decrease coverage by 0.07%.
The diff coverage is 48.64%.

❗ Current head bd1ff51 differs from pull request most recent head ec0c2c9. Consider uploading reports for the commit ec0c2c9 to get more accurate results

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   57.83%   57.77%   -0.07%     
==========================================
  Files          10       10              
  Lines         574      611      +37     
==========================================
+ Hits          332      353      +21     
- Misses        195      209      +14     
- Partials       47       49       +2     
Files Changed Coverage Δ
options/options.go 74.35% <0.00%> (-19.19%) ⬇️
engines/leveldb/leveldb.go 82.65% <46.15%> (-5.59%) ⬇️
honu.go 51.09% <75.00%> (+4.11%) ⬆️

@bbengfort bbengfort merged commit cca5877 into main Sep 7, 2023
2 checks passed
@bbengfort bbengfort deleted the exists branch September 7, 2023 12:09
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.

1 participant