-
Notifications
You must be signed in to change notification settings - Fork 32
Backport index and ipni pdp tasks to PDPv0 #670
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
Draft
ZenGround0
wants to merge
22
commits into
pdpv0
Choose a base branch
from
feat/index-and-ipni
base: pdpv0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,375
−12
Draft
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
eae8874
update pieceref schema and indexing task rough draft
ZenGround0 84d02c3
Bring in state view
ZenGround0 94a2db1
WIP
ZenGround0 77de42f
IPNI task done
ZenGround0 4c85996
Fixes
ZenGround0 c9cbc7b
Move alteration below creation
ZenGround0 13ea33e
Fix lint errors and actually use new tasks
ZenGround0 e9fb2f2
review response
ZenGround0 401b135
Fix calibnet curio bug
ZenGround0 b2879aa
Better errors to debug pdptool
ZenGround0 b726468
allow simple pdp service listener for testing
ZenGround0 286f80d
fix
ZenGround0 1d94cc4
Allow 0 listener
ZenGround0 42307e8
SimpleService
ZenGround0 940f49c
sql syntax error
ZenGround0 6bce99f
SQL missing AND keyword
ZenGround0 a61f473
Chill out ipni announce
ZenGround0 d934d38
More and less logging
ZenGround0 741f8f9
more debug
ZenGround0 927c000
Only publish new heads
ZenGround0 0499503
fix
ZenGround0 b7e8705
init
ZenGround0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ CREATE TABLE pdp_piecerefs ( | |
FOREIGN KEY (service) REFERENCES pdp_services(service_label) ON DELETE CASCADE, | ||
FOREIGN KEY (piece_ref) REFERENCES parked_piece_refs(ref_id) ON DELETE CASCADE | ||
); | ||
ALTER TABLE pdp_piecerefs ADD COLUMN indexing_task_id BIGINT DEFAULT NULL; | ||
ALTER TABLE pdp_piecerefs ADD COLUMN needs_indexing BOOLEAN DEFAULT FALSE; | ||
ALTER TABLE pdp_piecerefs ADD COLUMN ipni_task_id BIGINT DEFAULT NULL; | ||
ALTER TABLE pdp_piecerefs ADD COLUMN needs_ipni BOOLEAN DEFAULT FALSE; | ||
|
||
|
||
-- PDP hash to piece cid mapping | ||
CREATE TABLE pdp_piece_mh_to_commp ( | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to go in a new file. My suggestion would be not create a new table. MK2.0 also uses the existing table.