sashapolo commented on code in PR #3352:
URL: https://github.com/apache/ignite-3/pull/3352#discussion_r1516084167
##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/tree/BplusTree.java:
##########
@@ -2854,7 +2854,9 @@ protected long destroyDownPages(
* execution to a {@link
org.apache.ignite.internal.pagememory.util.GradualTaskExecutor}.
* @throws IgniteInternalCheckedException If failed.
*/
- public final GradualTask startGradualDestruction(@Nullable Consumer<L> c,
boolean forceDestroy) throws IgniteInternalCheckedException {
+ public final GradualTask startGradualDestruction(
+ @Nullable Consumer<L> c, boolean forceDestroy, int maxWorkUnits
Review Comment:
Fixed
##########
modules/page-memory/src/test/java/org/apache/ignite/internal/pagememory/util/GradualTaskExecutorTest.java:
##########
@@ -57,6 +58,8 @@ class GradualTaskExecutorTest extends BaseIgniteAbstractTest {
@AfterEach
void stopExecutor() {
executor.close();
+
+ IgniteUtils.shutdownAndAwaitTermination(executorService, 10,
TimeUnit.SECONDS);
Review Comment:
Fixed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]