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_: use periodic store query #5455

Closed
wants to merge 2 commits into from
Closed

Conversation

plopezlpz
Copy link
Contributor

@plopezlpz plopezlpz commented Jul 1, 2024

Currently we are doing a store query (per filter) with a 24 hour range on startup and then whenever we are back online from being offline or from computer sleep. This basically tries to use Richard's 1 minute periodic query to the store node and just trigger it on demand on reconnection (rather than waiting 1 minute) or on startup just run it with a range of 24h.

@plopezlpz plopezlpz marked this pull request as draft July 1, 2024 14:30
@status-im-auto
Copy link
Member

status-im-auto commented Jul 1, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 65867d8 #1 2024-07-01 14:32:02 ~4 min ios 📦zip
✔️ 65867d8 #1 2024-07-01 14:32:24 ~5 min linux 📦zip
✔️ 65867d8 #1 2024-07-01 14:34:54 ~7 min android 📦aar
✖️ 65867d8 #1 2024-07-01 15:09:06 ~42 min tests 📄log
✖️ bbe9e80 #2 2024-07-16 06:52:31 ~1 min tests 📄log
✔️ bbe9e80 #1 2024-07-16 06:53:47 ~2 min tests-rpc 📄log
✔️ bbe9e80 #2 2024-07-16 06:54:45 ~3 min ios 📦zip
✔️ bbe9e80 #2 2024-07-16 06:55:04 ~3 min linux 📦zip
✔️ bbe9e80 #2 2024-07-16 06:57:22 ~6 min android 📦aar

@plopezlpz
Copy link
Contributor Author

This cannot be used right now because of a pagination bug in storev3: waku-org/nwaku#2745

@plopezlpz plopezlpz marked this pull request as ready for review July 15, 2024 14:47
case <-w.ctx.Done():
return
}
}
}

func (w *Waku) FetchHistory(missingHistoryRequest TopicInterest) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@richard-ramos I still don't see this method returning all messages in the store node even though the underlying bug in storev3 has been fixed

Copy link
Member

Choose a reason for hiding this comment

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

Looking at the commit history of https://github.com/waku-org/nwaku/releases/tag/v0.30.2 (the version installed on the fleet according to https://fleets.waku.org/), it does not include this commit: waku-org/nwaku@f54ba10

We still gotta wait until v0.31 is released.

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