You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2019/10/31 14:52:00 UTC

[jira] [Created] (IGNITE-12348) .NET: Query cursors are not thread-safe

Pavel Tupitsyn created IGNITE-12348:
---------------------------------------

             Summary: .NET: Query cursors are not thread-safe
                 Key: IGNITE-12348
                 URL: https://issues.apache.org/jira/browse/IGNITE-12348
             Project: Ignite
          Issue Type: Bug
          Components: platforms
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn


Query cursors (inheritors of {{QueryCursorBase}}) are not thread safe. The code has an attempt to make them thread-safe, but race condition exists between Dispose and MoveNext calls - it is possible that GetBatch is called after Dispose, causing all kinds of issues like calls to non-existent filter.

We should either fix the race, or update the documentation with a thread unsafety note.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)