[SERVER-27706] use itcount() instead of count in repl2.js Created: 17/Jan/17 Updated: 17/Jan/17 Resolved: 17/Jan/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Benety Goh [ 17/Jan/17 ] |
|
Fixing use of count() does not fix the build failures observed with repl2.js running wired tiger. |