vitthalbywar-tibco opened a new issue, #11836: URL: https://github.com/apache/ignite/issues/11836
Hello, We have a scenario where we are deleting entries from a "transactional" cache in one thread in a transaction and in parallel another thread is trying to query on the same cache. We observe changing/random numbers in second call when queried on the cache. Is this not a correct expectation that until the first transaction complete(delete), second query should return either count before delete transaction or count after delete transaction? Example - 1: Cache has 1000 entries 2: A new thread tries to delete all entries using removeAll(keys) method. 3: Another thread in parallel when they to do cache.size() it gets range of numbers between 1000-0. Should it not be always 1000 or 0 considering point 2 is happening in a transaction? Please refer attached sample project. [transactions-test.zip](https://github.com/user-attachments/files/18591260/transactions-test.zip) Please suggest. Thank you, -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
