-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
IGNITE-23901 Add operation time performance statistics for putAllConflict, removeAllConflict #11793
base: master
Are you sure you want to change the base?
Conversation
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/ignite/internal/processors/performancestatistics/OperationType.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
* new cache operations for perfstat * tests
* test fixed
* tests cases separated
ebfdfd8
to
fcf7e89
Compare
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
* tests fixed
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
Outdated
Show resolved
Hide resolved
...he/ignite/internal/processors/performancestatistics/PerformanceStatisticsThinClientTest.java
Outdated
Show resolved
Hide resolved
* @throws Exception If failed. | ||
*/ | ||
@Test | ||
public void testCachePutAllConflict() throws Exception { |
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.
I would consider removing the "Cache" substring from the names of the test methods and checkCacheAllConflictOperations
, as it doesn't really provide any additional useful information. This will result in less code and improved readability.
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.
I used the "cache" in naming to match the OperationType. e.g. CACHE_PUT_ALL_CONFLICT
I agree, it can result in less code should we remove it, but I see that it's used throughout the test class. I would prefer to follow that. WDYT?
* redundant code fixed
Performance statisitcs tracking added for the following cache operations:
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
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summary
whereXXXX
- number of JIRA issue.(see the Maintainers list)
the
green visa
attached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.