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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)