Commit Graph

153 Commits

Author SHA1 Message Date
Ian Norden
aa73e30b32
Merge pull request #65 from vulcanize/release-v4.0.0-alpha
[v4] TimescaleDB support
2022-04-12 21:12:18 -05:00
i-norden
3b4e097f00 remove pre and post migrations sets 2022-04-12 21:12:03 -05:00
i-norden
caf99f7194 use state leaf key in storage_cids FK 2022-04-12 21:11:36 -05:00
i-norden
b3832dd23d script for generating/updating the migration file for adding and attaching data nodes for distributed hypertables 2022-04-06 19:08:09 -05:00
i-norden
2816de15a3 migrations for hypertables and distributed hypertables 2022-04-06 18:44:19 -05:00
Ian Norden
f89ea6134f
Merge pull request #56 from vulcanize/release-v4.0.0-alpha
v4.0.0 alpha
2022-04-05 19:12:30 -05:00
Ian Norden
05600e51d2
Merge pull request #59 from vulcanize/release-v3.2.0
update the pre- and post- batch sets with new meta schema and tables
2022-03-31 12:47:32 -05:00
i-norden
201cadbd49 update the pre- and post- batch sets with new meta schema and tables 2022-03-31 12:45:27 -05:00
Ian Norden
82f28ae6ba
Merge pull request #53 from vulcanize/feature/known_table
Add `known_gaps` table
2022-03-31 11:12:54 -05:00
Abdul Rabbani
63e3d66cc1 Merge branch 'main' into feature/known_table 2022-03-31 12:07:28 -04:00
Abdul Rabbani
2ffb98c6f7 Change file name 2022-03-31 12:06:11 -04:00
Abdul Rabbani
b2f8f63a65 Update file name 2022-03-31 10:47:29 -04:00
Abdul Rabbani
e99787242e Add Migration file 2022-03-31 10:45:11 -04:00
i-norden
2162e73524 update schema 2022-03-28 18:23:30 -05:00
i-norden
da8d0af6df updates order of columns in compound PKs, update indexes e.g. we don't need a btree index on a column if it is the first column in the compound PK index but we do need a btree index for the later columns in a compound PK (searches on first column of a compound index are just as fast as searches on a btree index for that column alone, but searches on the 2nd or 3rd column in a compound index are significantly slower than on dedicated indexes) 2022-03-28 18:22:57 -05:00
i-norden
82de252160 stored functions for creating state and storage snapshots from the set of all diffs in Postgres 2022-03-28 18:20:29 -05:00
Ian Norden
d8dbd14af8
Merge pull request #54 from deep-stack/ng-watched-addresses-v3
Add a table for watched addresses (v3)
2022-03-23 07:08:59 -05:00
Ian Norden
20c320ac68
Merge pull request #51 from vulcanize/release-v4.0.0-alpha
denormalize tables by block_number
2022-03-21 20:02:44 -05:00
i-norden
ba2550cc01 update pre- and post- sets 2022-03-21 19:53:48 -05:00
679f3e8d79 Remove GO111MODULE flag when installing goose in makefile
Passing GO111MODULE=off with go get throws error. The CI fails due to this when using the makefile.
2022-03-21 17:07:46 +05:30
Abdul Rabbani
a1b75c31e9 Update schema.sql 2022-03-19 09:17:48 -04:00
Abdul Rabbani
35b40e6ff7 Add known_gaps table - DO NOT MERGE YET!!
We will probably need to change the `modulus_block_number` columns name
2022-03-18 14:35:07 -04:00
a500c1a49a Add table for watched addresses in eth_meta schema 2022-03-17 19:02:05 +05:30
i-norden
1dc12460dc denormalize tables by block_number so that we can partition all tables by block_number for purposes of sharding 2022-03-15 16:06:13 -05:00
Ian Norden
bba8a410f8
Merge pull request #50 from vulcanize/release-v3.0.7
Release v3.0.7
2022-03-07 11:12:09 -06:00
i-norden
f59582ab42 indexes on receipt cid and mh_key should not be unique, as it is possible (but improbable) that two receipts can be identical 2022-02-16 14:11:23 -06:00
Ian Norden
16e17abb7e
Merge pull request #47 from vulcanize/release-v3.0.6
split pk application into two parts
2022-01-26 13:09:24 -06:00
i-norden
9e7e0377a5 split pk application into two parts 2022-01-26 13:01:41 -06:00
Ian Norden
36de257357
Merge pull request #46 from vulcanize/release-v3.0.5
drop un-unique indexes
2022-01-25 12:33:34 -06:00
i-norden
0710ed1bb1 drop un-unique indexes 2022-01-25 12:31:59 -06:00
Ian Norden
c4254bdff1
Merge pull request #45 from vulcanize/release-v3.0.3
prep for integrated node of v3
2022-01-25 09:29:26 -06:00
i-norden
1088313ab7 prep for integrated node of v3 2022-01-25 08:29:25 -06:00
Ian Norden
ffdf0a0d4d
Merge pull request #43 from vulcanize/release-v3.0.2
v3.0.2
2022-01-19 15:31:13 -06:00
i-norden
edabfcc9c9 migration for applying log_cids.leaf_mh_key FK constraint to check that repair process was completed 2022-01-19 15:21:29 -06:00
Ian Norden
6612edabbe
Merge pull request #41 from vulcanize/release-v3.0.1
disable and renable indexes correctly
2022-01-10 21:52:25 -06:00
i-norden
ae1a6e9d31 disable and renable indexes correctly 2022-01-10 21:51:04 -06:00
Ian Norden
35a1ba7218
Merge pull request #40 from vulcanize/release-v3.0.0
Release v3.0.0
2022-01-10 12:49:57 -06:00
i-norden
4699385a21 new make targets for rolling back pre and post-batch migrations 2022-01-10 12:13:52 -06:00
i-norden
a2c98550b7 mig to upgrade schema version in db; mig to remove temporary indexes for logTrie fix 2022-01-10 12:13:49 -06:00
i-norden
4ad1250ea1 split out new post-batch migration for indexes that will accelerate our logTrie repair process 2022-01-10 11:53:55 -06:00
Ian Norden
3fb695c1e6
Merge pull request #39 from vulcanize/release-v0.3.3
Release v0.3.3
2022-01-07 13:44:36 -06:00
i-norden
b5b9950f1d default val for GOPATH in Makefile 2022-01-07 13:41:40 -06:00
i-norden
858d6ee85a set GO111MODULE=off when go getting 2022-01-07 13:07:57 -06:00
i-norden
d313d4823e new make targets for running up migrations one at a time 2022-01-07 12:56:19 -06:00
i-norden
8b64621f46 move public.blocks PK application into own migration to be applied alone 2022-01-07 12:52:45 -06:00
i-norden
70d571e03e rename file, no schema changes 2022-01-07 12:51:29 -06:00
Ian Norden
0e865ad735
Merge pull request #37 from vulcanize/version_table
singleton table for internally recording the database schema version
2021-12-28 23:00:01 -06:00
i-norden
e2f261caa9 include timestamp for when version is updated 2021-12-27 13:52:52 -06:00
i-norden
28be11187c updated uml 2021-12-27 11:41:30 -06:00
i-norden
3833fb85e2 singleton table for internally recording the database schema version 2021-12-27 11:35:32 -06:00