Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-214

Inconsistent query result while have a process inserting to same collection.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 1.4
    • None
    • None
    • One single mongoDB running on window 2008 64 bit server.

    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

      Attachments

        1. InsertClient.rar
          212 kB
        2. QueryClient.rar
          212 kB
        3. src.rar
          3 kB

        Activity

          People

            Unassigned Unassigned
            guazwk guaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: