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

merge master into nakamoto #1840

Merged
merged 18 commits into from
Jan 23, 2024
Merged

merge master into nakamoto #1840

merged 18 commits into from
Jan 23, 2024

Conversation

rafaelcr
Copy link
Collaborator

No description provided.

bestmike007 and others added 17 commits January 10, 2024 14:38
…1818)

* feat: run inserts in batch and in parallel when processing new block

Signed-off-by: bestmike007 <i@bestmike007.com>

* chore: use asserts

Signed-off-by: bestmike007 <i@bestmike007.com>

* chore: make insert concurrency configurable

Signed-off-by: bestmike007 <i@bestmike007.com>

* chore: rename env to STACKS_BLOCK_DATA_INSERT_CONCURRENCY and enforce min value

Signed-off-by: bestmike007 <i@bestmike007.com>

* chore: fix switch-case fall-through

Signed-off-by: bestmike007 <i@bestmike007.com>

* chore: fix env entry wording

Signed-off-by: bestmike007 <i@bestmike007.com>

---------

Signed-off-by: bestmike007 <i@bestmike007.com>
* fix: log re-orgs at `INFO` level (#1819)

* chore(release): 7.7.1 [skip ci]

## [7.7.1](v7.7.0...v7.7.1) (2024-01-11)

### Bug Fixes

* log re-orgs at `INFO` level ([#1819](#1819)) ([3b502f7](3b502f7))

* fix: log block event counts after processing

* fix: switch breaks

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
## [7.8.0-beta.1](v7.7.1...v7.8.0-beta.1) (2024-01-11)

### Features

* run inserts in batch and in parallel when processing new block ([#1818](#1818)) ([86dfdb5](86dfdb5))

### Bug Fixes

* log block event counts after processing ([#1820](#1820)) ([9c39743](9c39743)), closes [#1819](#1819) [#1819](#1819)
## [7.8.0-beta.2](v7.8.0-beta.1...v7.8.0-beta.2) (2024-01-12)

### Bug Fixes

* optimize re-org queries and indexes ([#1821](#1821)) ([5505d35](5505d35))
* fix: change all HASH indexes to BTREE to optimize writes

* fix: logs index
## [7.8.0-beta.3](v7.8.0-beta.2...v7.8.0-beta.3) (2024-01-12)

### Bug Fixes

* change all HASH indexes to BTREE to optimize writes ([#1825](#1825)) ([234936b](234936b))
* fix: revive mempool txs that get re-broadcasted after being dropped from the mempool

* chore: separate query for reviving mempool txs

* test: add test for reviving mempool txs

* chore: fix test

* chore: fix test

* fix: update mempool tx receipt info on reviving
## [7.7.2](v7.7.1...v7.7.2) (2024-01-16)

### Bug Fixes

* revive dropped mempool rebroadcasts ([#1823](#1823)) ([862b36c](862b36c))
* feat: upgrade to node 20, use bookworm-slim image

* fix: openjdk-11-jre

* fix: rosetta jdk

* fix: add git to rosetta Dockerfile

* fix: node 20 in rosetta script
## [7.8.0-beta.4](v7.8.0-beta.3...v7.8.0-beta.4) (2024-01-16)

### Features

* upgrade to node 20, use bookworm-slim image ([#1832](#1832)) ([0a42109](0a42109))
* feat: new endpoint

* docs: openapi

* feat: response type

* fix: add route

* fix: new schema

* test: add

* fix: rename result

* docs: example result
Copy link

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

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

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

Comparison is base (f974dfd) 71.50% compared to head (297a7c8) 18.82%.

❗ Current head 297a7c8 differs from pull request most recent head 2dd1de8. Consider uploading reports for the commit 2dd1de8 to get more accurate results

Files Patch % Lines
src/datastore/pg-write-store.ts 0.43% 218 Missing and 9 partials ⚠️
src/event-stream/event-server.ts 0.00% 36 Missing ⚠️
src/datastore/pg-store-v2.ts 0.00% 11 Missing and 1 partial ⚠️
src/api/routes/v2/helpers.ts 18.18% 9 Missing ⚠️
src/datastore/helpers.ts 30.00% 7 Missing ⚠️
src/api/routes/v2/smart-contracts.ts 62.50% 5 Missing and 1 partial ⚠️
...play/parquet-based/importers/new-block-importer.ts 0.00% 4 Missing ⚠️
src/api/controllers/db-controller.ts 50.00% 1 Missing ⚠️
src/event-stream/reader.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           nakamoto    #1840       +/-   ##
=============================================
- Coverage     71.50%   18.82%   -52.68%     
=============================================
  Files            91       92        +1     
  Lines         11763    11907      +144     
  Branches       2611     2624       +13     
=============================================
- Hits           8411     2242     -6169     
- Misses         3199     8955     +5756     
- Partials        153      710      +557     

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

## [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))
@rafaelcr rafaelcr merged commit dc89bf3 into nakamoto Jan 23, 2024
2 checks passed
@blockstack-devops
Copy link

🎉 This PR is included in version 7.9.0-nakamoto.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0-nakamoto.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants