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

GEODE-9002: Add New Statistic Type For /proc/schedstat #6090

Closed
wants to merge 9 commits into from

Conversation

Bill
Copy link
Contributor

@Bill Bill commented Mar 4, 2021

GEODE-9002

This feature is almost complete. Gathering of the new LinuxThreadScheduler statistics type (on Statistics instance per CPU) is currently enabled by default. The next step is to disable it by default and only enable it if TBD system property is set.

See ticket for details.

This PR also has code to print stack when the member receives forced-disconnect. If we leave that code in it needs to be turned off by default and enabled via a system property.

TODO

  • hide stack dumping behind a system property or remove the code
  • turn off LinuxThreadScheduler statistic type by default, enable via system property

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

@Bill Bill changed the title GEODE-9002: Add Statistic for /proc/schedstat GEODE-9002: Add New Statistic Type For /proc/schedstat Mar 5, 2021
@onichols-pivotal
Copy link
Contributor

This PR has been untouched for several months, can it be closed?

@onichols-pivotal
Copy link
Contributor

closing as abandoned

@@ -1118,6 +1119,10 @@ private void forceDisconnect(String reason) {
joinResponse.notifyAll();
}
} else {

// TODO: consider either always doing this or putting it behind a system property flag
OSProcess.printStacks(0);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants