Get chainquery merged and live into production. #71
Labels
No labels
area: app c
area: app d
area: devops
area: discovery
area: docs
area: proposal
area: X-device Sync
Chainquery
consider soon
dependencies
Epic
Fix till next release
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Parked
priority: blocker
priority: high
priority: low
priority: medium
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lighthouse.js#71
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tiger5226 is working on integrating chainquery into lighthouse. When my review is done the next step is deployment to a live server, this means starting over with a new elasticsearch database.
My main idea was to redeploy ligthhouse to a new server, get it synced up and then change the DNS for lighthouse.lbry.io to the new one. Then let the DNS change propagate and remove the old server.
Feel free to add your ideas down below!
We now have the https://github.com/lbryio/lighthouse/tree/chainquery branch and a PR for code review #72.
The basic idea for a phase 1 is replace the current sync process with one that leverages chainquery instead of a direct connection to lbrycrd. This allows us to avoid rewriting the same code for all of our applications. The requirement is that it should not change the search results in any significant way. This change should be seamless. Future changes can then leverage the additional information chainquery can provide, enhancing our search and discovery with very little effort.
This change just modifies where information is synced from and refactors how it syncs.
It will now query chainquery for all updated claims since the last time it synced. This will allow for updated claims to actually be updated in the elastic search db. Previously this was not possible as a diff was used. It does this via a new persistent json file that stores this information and can be used for further minor state changes.
The changes are in the
chainquery
directory and the intention is that we will eventually just replace the importer directory with what is inchainquery
.Deployed