[
https://issues.apache.org/jira/browse/IGNITE-10250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694481#comment-16694481
]
ASF GitHub Bot commented on IGNITE-10250:
-----------------------------------------
GitHub user xtern opened a pull request:
https://github.com/apache/ignite/pull/5456
IGNITE-10250
…f write permits.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xtern/ignite IGNITE-10250
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5456.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5456
----
commit 4671e12102c4130e7fef04c02f10804a07bd1607
Author: pereslegin-pa <xxtern@...>
Date: 2018-11-21T09:39:41Z
IGNITE-10250 Unordered header update notifications may lead to loss of
write permits.
----
> 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
> Assignee: Pavel Pereslegin
> Priority: Major
> Fix For: 2.8
>
>
> Ignite Queue hangs after several read/write operations. Code to reproduce:
> {code:java}
> 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();
> }
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)