[JAVA-214] Inconsistent query result while have a process inserting to same collection. Created: 11/Nov/10  Updated: 11/Sep/19  Resolved: 10/Mar/12

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 1.4
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: guaz Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

One single mongoDB running on window 2008 64 bit server.


Attachments: File InsertClient.rar     File QueryClient.rar     File src.rar    

 Description   

Hi All,

I found out while there is a inserting process, then no matter how
many times i try to query that same collection, the result return is
inconsistent.

For example, by right my select query should return 1000 count where
type = 0.

But when there is a inserting process, then the result become
inconsistent. for example, 1st time = 30, 2nd time = 100, 3rd time =
500, 4th time = 200
Any idea? I am using single Mongo DB



 Comments   
Comment by Jeffrey Yemin [ 10/Mar/12 ]

We were not able to reproduce this. Please re-open if you can provide any more information

Comment by Scott Hernandez (Inactive) [ 24/Oct/11 ]

We cannot reproduce this, do you still see this?

Comment by Antoine Girbal [ 17/Feb/11 ]

guaz, will look into this issue shortly

Comment by guaz [ 18/Nov/10 ]

Hi all,

Any update on this issues?

Comment by guaz [ 12/Nov/10 ]

the src.rar is the one... is a very simple code there. have insert and query function. You only have to configure the ip address and turn on either query or insert function

Comment by Eliot Horowitz (Inactive) [ 12/Nov/10 ]

Can you upload as simple .java files

Generated at Thu Feb 08 08:51:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.