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

refactor(peer_manager): move peer_store under peer_manager module #1339

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

LNSD
Copy link
Contributor

@LNSD LNSD commented Nov 3, 2022

As part of the work done under #1293, the peer persistence database was decoupled from the message store database connection. This PR continues that work:

  • Moved peer_store module under peer_manager module. The code has been collocated with the peer manager code, as it is the only module depending on the peer store.
  • Decoupled migrations.migrate() procedure from the message store's.
  • Used a different migrations SchemaVersion than the message's store database.
  • Updated the wakunode2 module, the tests, and imports in general accordingly.

@LNSD LNSD requested review from alrevuelta and jm-clius November 3, 2022 18:56
@LNSD LNSD self-assigned this Nov 3, 2022
@status-im-auto
Copy link
Collaborator

status-im-auto commented Nov 3, 2022

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5ea10c0 #1 2022-11-03 19:12:18 ~15 min linux 📦bin
✔️ 5ea10c0 #1 2022-11-03 19:12:22 ~15 min macos 📦bin

@@ -13,7 +13,7 @@ import


logScope:
topics = "wakunode.setup.rest"
topics = "wakunode rest"
Copy link
Contributor

Choose a reason for hiding this comment

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

I know not part of this PR, but FWIW I like that the app is just wakunode like here - I'm getting a bit wary of having a confusing 2 everywhere, when we're practically always working with version 2.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes... I also have that concern. To achieve that, we need to coordinate with the infra changes. I have avoided mixing too many infra changes for this release, we are already changing the configuration.

The related issue is: #1002

@LNSD LNSD merged commit 0569bea into master Nov 4, 2022
@LNSD LNSD deleted the refactor-peer-store branch November 4, 2022 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants