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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.4
    • Component/s: None
    • None
    • Environment:
      One single mongoDB running on window 2008 64 bit server.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

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

            Assignee:
            Unassigned
            Reporter:
            guaz
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: