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

Cassandra migrations #1648

Merged
merged 6 commits into from
Aug 29, 2023
Merged

Cassandra migrations #1648

merged 6 commits into from
Aug 29, 2023

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Aug 25, 2023

Fixes #1646

TODO:

  • Test in production

@dirkmc dirkmc force-pushed the feat/mm-retrieve-cass-migrate branch from 1ee3d24 to 9fdedd5 Compare August 25, 2023 10:56
@dirkmc dirkmc force-pushed the feat/mm-retrieve-cass-migrate branch from 756dc1c to 0d235b9 Compare August 25, 2023 12:00
@dirkmc dirkmc force-pushed the feat/mm-retrieve-cass-migrate branch from 25a69ce to a70b43f Compare August 28, 2023 08:37
@dirkmc dirkmc requested a review from nonsense August 28, 2023 10:58
@dirkmc dirkmc merged commit 1d7f2bc into feat/mm-retrieve Aug 29, 2023
18 checks passed
@dirkmc dirkmc deleted the feat/mm-retrieve-cass-migrate branch August 29, 2023 12:26
LexLuthr added a commit that referenced this pull request Aug 30, 2023
* feat: retrieve data served from multiple miners (#1578)

* add booster-http multi-miner retrieve test (#1598)

* feat: add booster-http multi-miner retrieve test

* refactor: move api version check to its own function

* test: add booster-bitswap multi-miner test (#1599)

* multi-miner / single LID - piece doctor (#1600)

* wip: multi-miner / 1 LID - piece doctor

* refactor: move yugabyte migration details into a separate class

* fix: add miner address to yugabyte / leveldb impl

* refactor: update log in piece doctor no deals for miner to warning

* refactor: break migration into two parts to avoid migrations bug

* feat: skip set address in migration if PieceTracker table has no rows (#1614)

* fix: split PieceTracker and PieceFlagged migrations (#1615)

* fix: yugabyte migrate command name

* Add miner address to top of page in boost UI (#1633)

* feat: add miner address to top of page in boost UI

* Update react/src/MinerAddress.js

Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>

---------

Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>

* refactor: move StorageAccessApiInfo config into DealMaking at GraphsyncStorageAccessApiInfo (#1634)

* Show list of retrieval miners on retrievals list page (#1637)

* feat: show list of retrieval miners on retrievals list page

* fix: retrieval miner address resolver

* fix: mmlid fixes for LID UI (#1639)

* fix: look up unseal status against multi-miner accessor (rather than just on local miner) (#1641)

* Show warning on piece doctor page if still doing initial scan (#1643)

* fix: look up unseal status against multi-miner accessor (rather than just on local miner)

* feat: show warning on piece doctor page if still doing initial scan

* Update extern/boostd-data/yugabyte/piecedoctor.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* Update extern/boostd-data/yugabyte/piecedoctor.go

---------

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* feat: change postgres timezone type to include timezone (#1645)

* feat: show network name in binary versions (#1642)

* fix boostd-data maddr, enhance build

* add CQL migrator

* refactor migrator

* modify migrate query

* remove idx from migrate query

* remove CQL migrator

* undo go mod changes, fix mainnet build

* undo yugabyte changes

* remove extra line

* Cassandra migrations (#1648)

* feat: cassandra migrations

* refactor: dbname -> appliedMigration

* fix: yugabyte lid test

* feat: add postgres migration

* refactor: simplify cassandra migrations

* fix: delete duplicate rows in PieceTracker table

* fix test

---------

Co-authored-by: dirkmc <dirkmdev@gmail.com>
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants