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

support/datastore: datastore provides retrieval of metrics on its ledger data #5498

Open
sreuland opened this issue Oct 29, 2024 · 0 comments

Comments

@sreuland
Copy link
Contributor

What problem does your feature solve?

No visibility on status of exported data on Datastore, such as the smallest or greatest ledger sequence available on the datastore.

What would you like to see?

new method Datastore.GetMetrics returns a:

DataStoreMetrics {
   MinLedgerSequence: unit32 
   MaxLedgerSequence: uint32
}

using a struct so can scale to more meta information later.

What alternatives are there?

clients can manually try different bounded ranges with BufferedStorageBackend to explore what data is there, but that is not efficient or deterministic and not recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants