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

feat: add multi-miner to single LID support #1656

Merged
merged 18 commits into from
Aug 30, 2023
Merged

feat: add multi-miner to single LID support #1656

merged 18 commits into from
Aug 30, 2023

Conversation

LexLuthr
Copy link
Collaborator

This PR will allows SPs to use a single LID instance to connect with multiple boost instances and miner. It will also allow serving retrieval from any connected miner via any connected boost instances.

dirkmc and others added 18 commits July 28, 2023 16:11
* feat: add booster-http multi-miner retrieve test

* refactor: move api version check to its own function
* 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: 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>
* feat: show list of retrieval miners on retrievals list page

* fix: retrieval miner address resolver
* 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>
* 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
* 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
@LexLuthr LexLuthr requested a review from dirkmc August 30, 2023 12:50
@LexLuthr LexLuthr merged commit 2412aa6 into main Aug 30, 2023
19 checks passed
@LexLuthr LexLuthr deleted the feat/mm-retrieve branch August 30, 2023 12:56
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