Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

rpc: Add paginated get all orders in DB method #86

Closed
fabioberger opened this issue May 26, 2019 · 1 comment
Closed

rpc: Add paginated get all orders in DB method #86

fabioberger opened this issue May 26, 2019 · 1 comment
Assignees
Milestone

Comments

@fabioberger
Copy link
Contributor

We have designed Mesh such that if it crashes for any reason, it resumes from where it left off upon re-start. This means clients will receive all order events despite the disruption. But what if the client is disrupted? The order event subscriptions won't queue up until their return.

In order to handle this scenario, we will add a paginated method for fetching all orders currently in the Mesh database. This will allow a client that has crashed to update all the orders in their DB/in-memory store and recover to an up-to-date snapshot of the valid orders stored by the Mesh node.

@fabioberger
Copy link
Contributor Author

Addressed in #198

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant