ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afedotov <alexander.fedot...@gmail.com>
Subject Re: Closures stuck in 2.0 when try to add an element into the queue.
Date Tue, 16 May 2017 21:45:44 GMT

The question was answered on stackoverflow
the answer below:

It's not allowed to invoke ignite.queue and ignite.affinity methods in
EventListener, because it may lead to deadlock.

All cache operations, including EventListeners are executed in system pool,
so it's not recommended to invoke inside EventListener operations, that
uses system pool too.

You could read more here at "Closures Execution and Thread Pools":

And here

Kind regards,

On Thu, May 11, 2017 at 2:17 PM, fatality [via Apache Ignite Users] <
ml+s70518n12628h2@n6.nabble.com> wrote:

> Hi
> I have just subscribed to the user group also same question is posted at
> http://stackoverflow.com/questions/43891757/closures-
> stuck-in-2-0-when-try-to-add-an-element-into-the-queue
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Closures-
> stuck-in-2-0-when-try-to-add-an-element-into-the-queue-tp12587p12628.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1h65@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=>
> .
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Closures-stuck-in-2-0-when-try-to-add-an-element-into-the-queue-tp12587p12936.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
View raw message