You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Anton Dmitriev (JIRA)" <ji...@apache.org> on 2018/11/14 14:04:03 UTC
[jira] [Created] (IGNITE-10250) Ignite Queue hangs after several
read/write operations
Anton Dmitriev created IGNITE-10250:
---------------------------------------
Summary: Ignite Queue hangs after several read/write operations
Key: IGNITE-10250
URL: https://issues.apache.org/jira/browse/IGNITE-10250
Project: Ignite
Issue Type: Bug
Components: data structures
Affects Versions: 2.7
Reporter: Anton Dmitriev
Ignite Queue hangs after several read/write operations. Code to reproduce:
{noformat}
try (Ignite ignite = Ignition.start()) {
IgniteQueue<Integer> queue = ignite.queue("TEST_QUEUE", 1, new CollectionConfiguration());
new Thread(() -> {
for (int i = 0;; i++) {
queue.put(i);
System.out.println("Put: " + i);
}
}).start();
new Thread(() -> {
for (int i = 0;; i++) {
queue.take();
System.out.println("Take: " + i);
}
}).start();
Thread.currentThread().join();
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)