You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2021/08/27 10:54:00 UTC
[jira] [Created] (IGNITE-15385) Kill query commands don't work with
local scan queries
Amelchev Nikita created IGNITE-15385:
----------------------------------------
Summary: Kill query commands don't work with local scan queries
Key: IGNITE-15385
URL: https://issues.apache.org/jira/browse/IGNITE-15385
Project: Ignite
Issue Type: Bug
Reporter: Amelchev Nikita
Kill query commands don't work with local scan queries (or with distributed queries at the moment of the local scan query iterating)
Reproducer:
{noformat}
// Use the KillCommandsTests helper.
public class KillLocalScanTest extends GridCommonAbstractTest {
@Test
public void test() throws Exception {
IgniteEx srv = startGrid(0);
IgniteCache<Object, Object> cache = srv.getOrCreateCache(
new CacheConfiguration<>(DEFAULT_CACHE_NAME));
for (int i = 0; i < PAGES_CNT * PAGE_SZ; i++)
cache.put(i, i);
QueryMXBean qryMBean = getMxBean(srv.name(), "Query",
QueryMXBeanImpl.class.getSimpleName(), QueryMXBean.class);
doTestScanQueryCancel(srv, F.asList(srv), args ->
qryMBean.cancelScan(args.get1().toString(), args.get2(), args.get3()));
}
}
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)