Hi, Scan query will return the current actual value, it won't wait for the lock to be released.
On Tue, Mar 14, 2017 at 9:56 AM, Anil [via Apache Ignite Users] < ml-node+s70518n11159...@n6.nabble.com> wrote: > HI, > > How does scan query and lock on same entry works ? > > thread 1 -> lock on a entry > thread 2 -> scan query trying to get the record > > i believe, scan query returns old entry. or waits till lock is released on > entry ? > > Thanks > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/ScanQuery- > and-Lock-tp11159.html > To start a new topic under Apache Ignite Users, email > ml-node+s70518n1...@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=> > . > NAML > <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> > -- Kind regards, Alex. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ScanQuery-and-Lock-tp11159p11191.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.