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

fix: parallelize re-org update queries #1835

Merged
merged 2 commits into from
Jan 19, 2024
Merged

fix: parallelize re-org update queries #1835

merged 2 commits into from
Jan 19, 2024

Conversation

rafaelcr
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (3535c11) 71.72% compared to head (0184ba5) 71.88%.

Files Patch % Lines
src/datastore/pg-write-store.ts 99.26% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             beta    #1835      +/-   ##
==========================================
+ Coverage   71.72%   71.88%   +0.16%     
==========================================
  Files          92       92              
  Lines       11881    11903      +22     
  Branches     2626     2623       -3     
==========================================
+ Hits         8522     8557      +35     
+ Misses       3206     3193      -13     
  Partials      153      153              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Vercel deployment URL: https://stacks-blockchain-20v4bq24v-blockstack.vercel.app 🚀

@rafaelcr rafaelcr requested a review from zone117x January 19, 2024 14:53
Copy link
Member

@zone117x zone117x left a comment

Choose a reason for hiding this comment

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

LGTM!

@rafaelcr rafaelcr merged commit 340a304 into beta Jan 19, 2024
31 checks passed
@rafaelcr rafaelcr deleted the fix/parallel-reorg branch January 19, 2024 17:25
blockstack-devops pushed a commit that referenced this pull request Jan 23, 2024
## [7.8.0](v7.7.2...v7.8.0) (2024-01-23)

### Features

* add `/extended/v2/smart-contracts/status` endpoint ([#1833](#1833)) ([3535c11](3535c11))
* run inserts in batch and in parallel when processing new block ([#1818](#1818)) ([86dfdb5](86dfdb5))
* upgrade to node 20, use bookworm-slim image ([#1832](#1832)) ([0a42109](0a42109))

### Bug Fixes

* change all HASH indexes to BTREE to optimize writes ([#1825](#1825)) ([234936b](234936b))
* log block event counts after processing ([#1820](#1820)) ([9c39743](9c39743)), closes [#1819](#1819) [#1819](#1819)
* optimize re-org queries and indexes ([#1821](#1821)) ([5505d35](5505d35))
* parallelize re-org update queries ([#1835](#1835)) ([340a304](340a304))
@blockstack-devops
Copy link

🎉 This PR is included in version 7.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants