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

chore(archive): queue driver refactor #2753

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

SionoiS
Copy link
Contributor

@SionoiS SionoiS commented May 31, 2024

No description provided.

@SionoiS SionoiS changed the title queue driver refactor chore(archive): queue driver refactor May 31, 2024
@SionoiS SionoiS marked this pull request as ready for review May 31, 2024 15:18
Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!
With that, we are refactoring for StoreV3, right?
I assume that we won't need that anymore for StoreV2
Cheers

@Ivansete-status
Copy link
Collaborator

Well, as usual, all should pass but the js-waku tests

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@SionoiS
Copy link
Contributor Author

SionoiS commented May 31, 2024

LGTM! Thanks! With that, we are refactoring for StoreV3, right? I assume that we won't need that anymore for StoreV2 Cheers

Yes this only support v3.

Well, as usual, all should pass but the js-waku tests

No, we discussed this, it cannot otherwise the PR would be HUGE. All PRs in review have to be merged to the feature branch before I can handle failing tests.

@Ivansete-status
Copy link
Collaborator

No, we discussed this, it cannot otherwise the PR would be HUGE. All PRs in review have to be merged to the feature branch before I can handle failing tests.

Okay perfect, then feel free to merge it :)
Thanks 🥳

@SionoiS SionoiS merged commit ac74ebe into chore--archive-drivers-refactor Jun 3, 2024
7 of 18 checks passed
@SionoiS SionoiS deleted the queue-driver branch June 3, 2024 14:30
SionoiS added a commit that referenced this pull request Jun 6, 2024
SionoiS added a commit that referenced this pull request Jun 7, 2024
SionoiS added a commit that referenced this pull request Jun 12, 2024
SionoiS added a commit that referenced this pull request Jul 2, 2024
SionoiS added a commit that referenced this pull request Jul 4, 2024
SionoiS added a commit that referenced this pull request Jul 8, 2024
SionoiS added a commit that referenced this pull request Jul 9, 2024
Ivansete-status pushed a commit that referenced this pull request Jul 12, 2024
Ivansete-status added a commit that referenced this pull request Jul 12, 2024
* queue driver refactor (#2753)
* chore(archive): archive refactor (#2752)
* chore(archive): sqlite driver refactor (#2754)
* chore(archive): postgres driver refactor (#2755)
* chore(archive): renaming & copies (#2751)
* posgres legacy: stop using the storedAt field
* migration script 6: we still need the id column
  The id column is needed because it contains the message digest
  which is used in store v2, and we need to keep support to
  store v2 for a while
* legacy archive: set target migration version to 6
* waku_node: try to use wakuLegacyArchive if wakuArchive is nil
* node_factory, waku_node: mount legacy and future store simultaneously
  We want the nwaku node to simultaneously support store-v2
  requests and store-v3 requests.
  Only the legacy archive is in charge of archiving messages, and the
  archived information is suitable to fulfill both store-v2 and
  store-v3 needs.
* postgres_driver: adding temporary code until store-v2 is removed

---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
Co-authored-by: Ivan Folgueira Bande <ivansete@status.im>
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.

3 participants