Jude Nelson
|
46410014cc
|
Merge pull request #3122 from stacks-network/fix/vacuum-on-migrate
fix: incrementally vacuum the MARF DB when migrating
2.05.0.2.0
|
2022-05-03 15:27:06 +00:00 |
|
Jude Nelson
|
e09bd5c04d
|
fix: keep a separate "migrated_version" table to track whether or not a migration was completed or not -- the schema version gets set *before* migration, and the migrated version gets set *after.* If no migration happens -- i.e. the schema version didn't change in the act of migrating -- and there's no evidence of a partial migration, then assume that no migration was ever needed (i.e. it's a fresh DB).
|
2022-05-02 19:58:21 -04:00 |
|
Jude Nelson
|
fb3e548de4
|
chore: set MARF as migrated once it's actually done
|
2022-05-02 19:57:58 -04:00 |
|
Jude Nelson
|
5bd47724b4
|
chore: update changelog
|
2022-05-02 14:19:28 -04:00 |
|
Jude Nelson
|
e49babe279
|
feat: add a method to detect partial migration to a .blobs file
|
2022-05-02 14:15:33 -04:00 |
|
Jude Nelson
|
762a5e9903
|
fix: panic if we detect a failed migration -- i.e. there are some tries with offset=0, length=0, and others that are not
|
2022-05-02 14:15:14 -04:00 |
|
Jude Nelson
|
fe7431a3c9
|
chore: only vacuum once, when we're done, and put the vacuum code into its own method
|
2022-05-02 14:14:43 -04:00 |
|
Jude Nelson
|
71ad8954eb
|
fix: don't unset SQLITE_TMPDIR until end of the loop; vacuum every 1024 tries; also set TMPDIR for good measure
|
2022-05-01 20:51:19 -04:00 |
|
Jude Nelson
|
246d626568
|
fix: use SQLITE_TMPDIR to control where temporary vacuum state gets stored, so we don't OOM nodes that keep chainstate on a separate volume in the expectation that they can keep using a small root (or, specifically, /tmp) volume
|
2022-05-01 09:21:50 -04:00 |
|
Jude Nelson
|
c90dfb5774
|
fix: when migrating MARF tries to a .blobs file, periodically vacuum the marf.sqlite file to reclaim the now-unused space.
|
2022-04-30 20:05:38 -04:00 |
|
Aaron Blankstein
|
258a3bde0a
|
Merge pull request #3120 from stacks-network/fix/mocknet-events
Fix mocknet events in RC
2.05.0.2.0-rc3
|
2022-04-28 17:30:29 -05:00 |
|
Aaron Blankstein
|
3f3ff1280c
|
fix: duplicate event broadcasts in mocknet node
|
2022-04-28 15:14:37 -05:00 |
|
Aaron Blankstein
|
e9065472ef
|
Merge branch 'develop' into fix/mocknet-events
|
2022-04-28 15:13:54 -05:00 |
|
Aaron Blankstein
|
870089f261
|
Merge branch 'master' into fix/mocknet-events
|
2022-04-28 15:13:46 -05:00 |
|
Aaron Blankstein
|
16fe381b0e
|
Merge pull request #3113 from stacks-network/feat/rename-core
Feat: rename blockstack-core to stacks-inspect
|
2022-04-26 09:36:34 -05:00 |
|
Aaron Blankstein
|
1d46436179
|
fix: update build scripts, etc. with stacks-inspect
|
2022-04-25 12:56:41 -05:00 |
|
Aaron Blankstein
|
906130a9f6
|
feat: rename blockstack-core to stacks-inspect
|
2022-04-25 10:24:36 -05:00 |
|
Jude Nelson
|
118187d8c1
|
Merge pull request #3112 from stacks-network/fix/first-block-header
Bootup fixes for 2.05.0.2.0-rc1
2.05.0.2.0-rc2
|
2022-04-25 15:16:46 +00:00 |
|
Jude Nelson
|
8f472cf8c1
|
fix: if the chainstate DBs exist already, then they must be migrated to the latest schema before header sync
|
2022-04-22 11:38:14 -04:00 |
|
Jude Nelson
|
889bc9bd6c
|
fix: update the public key of an always-allowed peer on boot-up, as well as the allowed column
|
2022-04-22 11:37:03 -04:00 |
|
Jude Nelson
|
32741c81a5
|
chore: add OldSchema(..) and TooOldForEpoch error variants for schema migrations
|
2022-04-22 11:36:40 -04:00 |
|
Jude Nelson
|
dfc4c4984e
|
fix: an always-allowed peer is already authenticated since we have its public key, so also make sure that the last contact time is positive when considering timeouts
|
2022-04-22 11:36:05 -04:00 |
|
Jude Nelson
|
485e450b34
|
feat: add function to check and migrate chainstate DBs if they exist
|
2022-04-22 11:35:49 -04:00 |
|
Jude Nelson
|
cb6861de70
|
fix: add separate DB migration function so the chains coordinator can do it on node boot-up. Also, downgrade the tx type for migraiton to DBTx so we don't accidentally depend on the first block header information (which we might not have)
|
2022-04-22 11:35:00 -04:00 |
|
Matthew Little
|
d2f31ca39c
|
Merge pull request #3075 from stacks-network/feat/c32-optimizations
Feat/c32 optimizations
2.05.0.2.0-rc1
|
2022-04-20 14:41:29 +02:00 |
|
Matthew Little
|
b1061ef34c
|
Merge branch 'develop' into feat/c32-optimizations
|
2022-04-20 09:32:26 +02:00 |
|
Matthew Little
|
1e0b80b769
|
Merge pull request #3109 from stacks-network/fix/dist-ci
fix: CI error while building dist files
|
2022-04-20 09:30:06 +02:00 |
|
Jude Nelson
|
c34b6429f0
|
Merge branch 'develop' into fix/dist-ci
|
2022-04-19 23:04:19 +00:00 |
|
Jude Nelson
|
9b11527ab2
|
Merge pull request #3090 from stacks-network/feat/analyze-fees.patch
Utility commands to analyze fees and get tenure transactions
|
2022-04-19 22:07:30 +00:00 |
|
Jude Nelson
|
e08fe74192
|
Merge branch 'develop' into feat/analyze-fees.patch
|
2022-04-19 19:20:53 +00:00 |
|
Jude Nelson
|
266df59d0c
|
Merge pull request #3103 from stacks-network/fix/changelog-2.05.0.2.0-rc1
Fix/changelog-2.05.0.2.0-rc1
|
2022-04-19 19:20:37 +00:00 |
|
Matthew Little
|
9ae00d3e41
|
fix: CI error while building dist files
|
2022-04-19 20:17:24 +02:00 |
|
Matthew Little
|
773026eaeb
|
chore: preserve array indexer unwrap
|
2022-04-19 19:53:15 +02:00 |
|
Jude Nelson
|
caaec488e7
|
fix: new API for StacksChainState::open()
|
2022-04-19 13:35:15 -04:00 |
|
Matthew Little
|
e2563fa58e
|
chore: cargo fmt
|
2022-04-19 19:34:05 +02:00 |
|
Matthew Little
|
5fcdb07314
|
chore: use Option<u8> for c32 table rather than i8
|
2022-04-19 19:31:11 +02:00 |
|
Matthew Little
|
b4919704de
|
chore: docstring for c32_old module purpose
|
2022-04-19 17:44:13 +02:00 |
|
Jude Nelson
|
37a1b5bbb5
|
fix: don't consider cases where there are no txids
|
2022-04-19 11:43:21 -04:00 |
|
Matthew Little
|
6355b76066
|
chore: expand doc string for c32 table normalization rules
|
2022-04-19 17:43:20 +02:00 |
|
Jude Nelson
|
7b6e7bba4c
|
Merge branch 'develop' into feat/analyze-fees.patch
|
2022-04-19 11:42:24 -04:00 |
|
Matthew Little
|
5ccbee42c1
|
chore: only compile c32_old in test builds
|
2022-04-19 17:40:48 +02:00 |
|
Matthew Little
|
ed71280d62
|
Merge branch 'develop' into feat/c32-optimizations
|
2022-04-19 17:24:19 +02:00 |
|
Jude Nelson
|
041e1ef1a0
|
chore: add #3048 to changelog
|
2022-04-19 11:06:34 -04:00 |
|
Jude Nelson
|
90c86bdea4
|
Merge branch 'develop' into fix/changelog-2.05.0.2.0-rc1
|
2022-04-19 11:05:26 -04:00 |
|
Jude Nelson
|
b5cad79ddb
|
Merge pull request #3104 from stacks-network/feat/small-default-max-block-assembly-time
fix: set the default subsequent-attempt time to 30s
|
2022-04-19 15:01:36 +00:00 |
|
Jude Nelson
|
f40729945e
|
fix: set the default subsequent-attempt time to 30s, based on new benchmarks from the MARF performance improvements
|
2022-04-18 13:49:10 -04:00 |
|
Jude Nelson
|
71213af783
|
fix: update changelog with new version
|
2022-04-18 13:15:46 -04:00 |
|
Jude Nelson
|
1a731591a2
|
Merge pull request #3091 from stacks-network/fix/fix-always-allowed-walks
Fix: vary between always-allowed and random initial neighbors when not in IBD
|
2022-04-18 17:06:29 +00:00 |
|
Jude Nelson
|
67ea9f82a4
|
Merge branch 'develop' into fix/fix-always-allowed-walks
|
2022-04-18 14:12:34 +00:00 |
|
Jude Nelson
|
9dd09ab7dd
|
Merge pull request #3044 from stacks-network/feat/marf-node-cache
MARF Performance Improvements
|
2022-04-13 19:07:30 +00:00 |
|