-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: integrate blobstore in pool #4266
Conversation
Codecov Report
... and 29 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
#[derive(Metrics)] | ||
#[metrics(scope = "transaction_pool")] | ||
pub struct BlobStoreMetrics { | ||
/// Number of failed inserts into the blobstore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also have other metrics? Blob size, inserts, removes etc. (not only failures)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will definitely add
but would like to include these prs asap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
crates/transaction-pool/src/lib.rs
Outdated
//! | ||
//! Blob transaction can be quite large hence they are stored in a separate blobstore. The pool is | ||
//! responsible for inserting blob data for new transactions into the blobstore. | ||
//! See als [ValidTransaction](validate::ValidTransaction) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo nit: see also
another incremental change that adds the blobstore to the Pool type
needs a few followups, but best to keep these small