Skip to content

WIP add reservation related metrics to scan server#4458

Closed
keith-turner wants to merge 2 commits into
apache:2.1from
keith-turner:scan_server_metrics
Closed

WIP add reservation related metrics to scan server#4458
keith-turner wants to merge 2 commits into
apache:2.1from
keith-turner:scan_server_metrics

Conversation

@keith-turner
Copy link
Copy Markdown
Contributor

Scan servers differ from in tablet servers in that they can service scans for any tablet, but must read the tablets files and reserve those files to prevent the Accumulo GC from removing them. This happens the first time a tablet is read on a scan server and involves reads and writes to the metadata table. This PR is a start at adding metrics related to reservations so that is possible to have visibility into the impact of this process on scans.

Scan servers differ from in tablet servers in that they can service
scans for any tablet, but must read the tablets files and reserve those
files to prevent the Accumulo GC from removing them.  This happens the
first time a tablet is read on a scan server and involves reads and
writes to the metadata table.  This PR is a start at adding metrics
related to reservations so that is possible to have visibility into the
impact of this process on scans.
@keith-turner
Copy link
Copy Markdown
Contributor Author

Have not tested this yet, wanted to figure out the metrics for the tablet metadata cache before testing. Have a TODO in the PR about metrics for the cache.

EdColeman pushed a commit to EdColeman/accumulo that referenced this pull request Apr 16, 2024
, using the changes in apache#4459 as the base.

includes updated documentation in MetricsProducer
includes cache metrics for table metadata cache in sserver (resolves todo)
These changes have not be test yet.

These changes should not be merged until apache#4459 is complete.
@keith-turner
Copy link
Copy Markdown
Contributor Author

closing in favor of #4461

@dlmarion
Copy link
Copy Markdown
Contributor

@keith-turner - did you mean to close this?

EdColeman added a commit that referenced this pull request May 3, 2024
* Add scan server metrics
* scan metrics renaming to remove specific service in favor of tags (removes tserver from scan metric names)
* enable stats on scan sever tablet metadata cache
* add resource.group to sserver common tags instead of on individual metrics

---------

Co-authored-by: Keith Turner <kturner@apache.org>
@ctubbsii ctubbsii modified the milestones: 4.0.0, 3.1.0, 2.1.3 Jul 12, 2024
@ctubbsii ctubbsii removed this from the 2.1.3 milestone Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants