You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "Vladsz83 (via GitHub)" <gi...@apache.org> on 2026/08/19 08:31:05 UTC
[PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Vladsz83 opened a new pull request, #13494:
URL: https://github.com/apache/ignite/pull/13494
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](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-ReviewProcessandMaintainers))
- [ ] 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](https://tcbot2.sbt-ignite-dev.ru/prs.html) or [TC.Bot - Instance 2](https://mtcga.gridgain.com/prs.html))
### Notes
- [How to Contribute](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute)
- [Coding abbreviation rules](https://cwiki.apache.org/confluence/display/IGNITE/Abbreviation+Rules)
- [Coding Guidelines](https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines)
- [Apache Ignite Teamcity Bot](https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+Teamcity+Bot)
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com _#ignite_ channel.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366698975
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5354045244
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "sergey-chugunov-1985 (via GitHub)" <gi...@apache.org>.
sergey-chugunov-1985 commented on code in PR #13494:
URL: https://github.com/apache/ignite/pull/13494#discussion_r3828241489
##########
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java:
##########
@@ -435,7 +437,7 @@ public void testIdleVerifyCancelOnCheckpoint() throws Exception {
}, false);
}
- /** */
+ /** TODO : revise in https://issues.apache.org/jira/browse/IGNITE-29002 */
Review Comment:
```suggestion
/** TODO: revise in https://issues.apache.org/jira/browse/IGNITE-29002 */
```
##########
modules/core/src/main/java/org/apache/ignite/internal/management/cache/VerifyBackupPartitionsTask.java:
##########
@@ -94,16 +96,17 @@ public class VerifyBackupPartitionsTask extends ComputeTaskAdapter<CacheIdleVeri
/** Checkpoint reason. */
public static final String CP_REASON = "VerifyBackupPartitions";
- /** Shared for tests. */
- public static Supplier<ExecutorService> poolSupplier = IgniteForkJoinPool::commonPool;
+ /**
+ * Only for tests. Overrides the default pool.
+ * TODO : remove in https://issues.apache.org/jira/browse/IGNITE-29002
Review Comment:
```suggestion
* TODO: remove in https://issues.apache.org/jira/browse/IGNITE-29002
```
##########
docs/_docs/tools/control-script.adoc:
##########
@@ -696,6 +696,17 @@ To cancel a running `idle_verify` operation, use the `--cancel` argument:
control.sh --cache idle_verify --cancel
----
+[NOTE]
+====
+[discrete]
+`idle_verify` command uses also own utility thread pool of default size `Total CPUs - 2` with the minimum of `4` threads.
Review Comment:
```suggestion
`idle_verify` command uses its own utility thread pool of default size `Total CPUs - 2` with the minimum of `4` threads.
```
##########
docs/_docs/tools/control-script.adoc:
##########
@@ -696,6 +696,17 @@ To cancel a running `idle_verify` operation, use the `--cancel` argument:
control.sh --cache idle_verify --cancel
----
+[NOTE]
+====
+[discrete]
+`idle_verify` command uses also own utility thread pool of default size `Total CPUs - 2` with the minimum of `4` threads.
+The pool size might be adjusted at node start with the system property
Review Comment:
```suggestion
The pool size might be adjusted at node startup with the system property
```
##########
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java:
##########
@@ -456,11 +458,11 @@ public void testIdleVerifyCancelBeforeCalcPartitionHashStarted() throws Exceptio
}
};
- VerifyBackupPartitionsTask.poolSupplier = () -> pool;
+ VerifyBackupPartitionsTask.EXECUTOR_SERVICE = pool;
}, false);
}
- /** */
+ /** TODO : revise in https://issues.apache.org/jira/browse/IGNITE-29002 */
Review Comment:
```suggestion
/** TODO: revise in https://issues.apache.org/jira/browse/IGNITE-29002 */
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5353652206
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5354284740
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5353515375
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5358124499
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "sergey-chugunov-1985 (via GitHub)" <gi...@apache.org>.
sergey-chugunov-1985 commented on code in PR #13494:
URL: https://github.com/apache/ignite/pull/13494#discussion_r3820555314
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/pool/PoolProcessor.java:
##########
@@ -144,6 +145,14 @@ public class PoolProcessor extends GridProcessorAdapter {
*/
public static final long DFLT_PERIODIC_STARVATION_CHECK_FREQ = 30 * 1000L;
+ /** */
+ @SystemProperty(value = "Idle verify utility thread pool size.", type = Integer.class,
+ defaults = "Total visible CPUs - 2, minimum 4 threads.")
+ public static final String IDLE_VERIFY_POOL_SIZE_PROPERTY = "IGNITE_IDLE_VERIFY_POOL_SIZE";
+
+ /** */
+ private static final int DFLT_IDLE_VERIFY_POOL_SIZE = Math.max(4, Runtime.getRuntime().availableProcessors() - 2);
Review Comment:
```suggestion
private static final int DFLT_IDLE_VERIFY_POOL_SIZE = Math.max(4, IgniteConfiguration.AVAILABLE_PROC_CNT - 2);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366262679
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "sergey-chugunov-1985 (via GitHub)" <gi...@apache.org>.
sergey-chugunov-1985 merged PR #13494:
URL: https://github.com/apache/ignite/pull/13494
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5346363784
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5354001421
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "sergey-chugunov-1985 (via GitHub)" <gi...@apache.org>.
sergey-chugunov-1985 commented on code in PR #13494:
URL: https://github.com/apache/ignite/pull/13494#discussion_r3820555314
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/pool/PoolProcessor.java:
##########
@@ -144,6 +145,14 @@ public class PoolProcessor extends GridProcessorAdapter {
*/
public static final long DFLT_PERIODIC_STARVATION_CHECK_FREQ = 30 * 1000L;
+ /** */
+ @SystemProperty(value = "Idle verify utility thread pool size.", type = Integer.class,
+ defaults = "Total visible CPUs - 2, minimum 4 threads.")
+ public static final String IDLE_VERIFY_POOL_SIZE_PROPERTY = "IGNITE_IDLE_VERIFY_POOL_SIZE";
+
+ /** */
+ private static final int DFLT_IDLE_VERIFY_POOL_SIZE = Math.max(4, Runtime.getRuntime().availableProcessors() - 2);
Review Comment:
```suggestion
private static final int DFLT_IDLE_VERIFY_POOL_SIZE = Math.max(4, IgniteConfiguration.AVAILABLE_PROC_CNT - 2);
```
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/pool/PoolProcessor.java:
##########
@@ -144,6 +145,14 @@ public class PoolProcessor extends GridProcessorAdapter {
*/
public static final long DFLT_PERIODIC_STARVATION_CHECK_FREQ = 30 * 1000L;
+ /** */
+ @SystemProperty(value = "Idle verify utility thread pool size.", type = Integer.class,
+ defaults = "Total visible CPUs - 2, minimum 4 threads.")
Review Comment:
```suggestion
defaults = "Total available CPUs minus 2, but at least 4 threads.")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "ignitetcbot (via GitHub)" <gi...@apache.org>.
ignitetcbot commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5357134434
AI-assisted re-review of the updated implementation (`ac683a56651b`): the previous blocking concerns have been addressed.
The executor is now node-owned through `PoolProcessor`, is shut down with the node, allows its core threads to time out, is exposed through executor metrics, and no longer relies on unsafe double-checked locking or a process-wide production singleton. I did not find any new functional blockers in the current diff.
A few non-blocking suggestions remain:
1. Add coverage for `IGNITE_IDLE_VERIFY_POOL_SIZE`, including applying a custom value and rejecting zero/negative values.
2. Add a lifecycle test confirming that idle threads expire and the executor is shut down when the node stops.
3. Reset the test-only `EXECUTOR_SERVICE` override in a `finally` block, so it cannot leak into subsequent tests if `super.afterTest()` fails.
4. Documentation grammar: `These pool threads expires` should be `These pool threads expire`. It may also be useful to document the actual current idle timeout (60 seconds).
Overall, this version is architecturally much safer than the earlier iterations and looks ready for the relevant core/control-utility test suites.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5353500647
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5353481877
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5340574581
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366484477
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366530288
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366687682
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366224550
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5366289817
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5343448229
<!-- ignite-rolling-upgrade-check -->
## Possible compatibility issues. Please, check rolling upgrade cases
This PR modifies protected classes (with **Order** annotation).
Changes to these classes can break rolling upgrade compatibility.
**Affected files:**
- `modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28996 Idle Verify utility shouldn't use Java's ForkJoinPool [ignite]
Posted by "ignitetcbot (via GitHub)" <gi...@apache.org>.
ignitetcbot commented on PR #13494:
URL: https://github.com/apache/ignite/pull/13494#issuecomment-5346738465
AI-assisted code review found two concerns in the new dedicated executor implementation:
1. **[P1] Executor lifecycle:** the executor is stored in a static field but is not registered with the Ignite node lifecycle and is never shut down. `IgniteThreadFactory` creates regular non-daemon threads, and the pool's core threads do not time out. After the first `idle_verify` or consistency repair, an embedded application may therefore be unable to terminate after stopping its last node. The pool also survives node restarts and can retain the node classloader. Please make the executor a node-owned resource and shut it down during node stop.
2. **[P2] Unsafe publication:** `initOrGetVerifyExecutor` uses double-checked locking, but `EXECUTOR_SERVICE` is not `volatile`. The outer read is unsynchronized, so the Java Memory Model does not guarantee safe publication of the constructed `IgniteThreadPoolExecutor`. Please either make the field `volatile` or perform every read and initialization under the same lock; the test-only setter should follow the same synchronization scheme.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org