Skip to content

IGNITE-28833 Add system views for cache locks#13347

Open
alex-plekhanov wants to merge 2 commits into
apache:masterfrom
alex-plekhanov:ignite-28833
Open

IGNITE-28833 Add system views for cache locks#13347
alex-plekhanov wants to merge 2 commits into
apache:masterfrom
alex-plekhanov:ignite-28833

Conversation

@alex-plekhanov

Copy link
Copy Markdown
Contributor

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:

The Contribution Checklist

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    the green visa attached to the JIRA ticket (see tab PR Check at TC.Bot - Instance 1 or TC.Bot - Instance 2)

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

@alex-plekhanov alex-plekhanov force-pushed the ignite-28833 branch 4 times, most recently from 04d8918 to 5bbed69 Compare July 10, 2026 10:11
}

/** */
public String enabledFlags() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's create separate column for each flag, instead of complex string creation that will lead to gc pressure.

getInteger(IGNITE_MAX_NESTED_LISTENER_CALLS, DFLT_MAX_NESTED_LISTENER_CALLS);

/** System view name for cache explicit locks. */
public static final String CACHE_EXPLICIT_LOCKS_VIEW = "cacheExplicitLocks";

@nizhikov nizhikov Jul 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

metricName("cache", "explicit", "locks")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

metricName returns "cache.explicit.locks", not "cacheExplicitLocks"

public static final String CACHE_EXPLICIT_LOCKS_VIEW_DESC = "Explicit locks on cache keys";

/** System view name for cache locks. */
public static final String CACHE_KEY_LOCKS_VIEW = "cacheKeyLocks";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

metricName("cache", "key", "locks")

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.

2 participants