Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27706

use itcount() instead of count in repl2.js

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 0

      repl2.js uses the collection size to verify that the documents it has inserted into the master has been successfully propagated to the slave. Currently, it uses the fast count feature to get the collection size which can occasionally be inaccurate. We should change repl2.js to use itcount() instead.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: