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

feat: Optimized stores for operation & witness #1342

Merged
merged 1 commit into from
Jun 11, 2022

Conversation

bstasyszyn
Copy link
Contributor

Renamed DB, op-queue, to, operation-queue, and the following stores were converted to use the optimized storage interface:

  • operation
  • operation-queue
  • unpublished-operation
  • witness

closes #1327
closes #1328

Signed-off-by: Bob Stasyszyn Bob.Stasyszyn@securekey.com

@cla-bot cla-bot bot added the cla-signed label Jun 11, 2022
Renamed DB, op-queue, to, operation-queue, and the following stores were converted to use the optimized storage interface:

- operation
- operation-queue
- unpublished-operation
- witness

closes trustbloc#1327
closes trustbloc#1328

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
@codecov
Copy link

codecov bot commented Jun 11, 2022

Codecov Report

Merging #1342 (76cdef5) into main (aeae288) will decrease coverage by 0.00%.
The diff coverage is 88.03%.

@@            Coverage Diff             @@
##             main    #1342      +/-   ##
==========================================
- Coverage   87.96%   87.96%   -0.01%     
==========================================
  Files         192      192              
  Lines       18527    18557      +30     
==========================================
+ Hits        16298    16323      +25     
- Misses       1423     1427       +4     
- Partials      806      807       +1     
Impacted Files Coverage Δ
pkg/anchor/witness/proof/proof.go 100.00% <ø> (ø)
pkg/context/opqueue/opqueue.go 82.47% <80.43%> (+0.08%) ⬆️
pkg/store/witness/witness.go 77.53% <91.22%> (-2.55%) ⬇️
pkg/store/operation/store.go 94.36% <100.00%> (-0.08%) ⬇️
pkg/store/operation/unpublished/store.go 95.83% <100.00%> (+2.28%) ⬆️
pkg/vct/proofmonitoring/monitoring.go 84.07% <0.00%> (-2.66%) ⬇️
...pub/service/inbox/httpsubscriber/httpsubscriber.go 97.77% <0.00%> (+8.88%) ⬆️

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 aeae288...76cdef5. Read the comment docs.

@fqutishat fqutishat merged commit 40c750a into trustbloc:main Jun 11, 2022
@bstasyszyn bstasyszyn deleted the 1327 branch June 11, 2022 13:21
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.

Optimized stores for Witness/Policy Optimized stores for operation
2 participants