[SERVER-73896] increase number of docs to insert in oplog_sampling.js Created: 10/Feb/23 Updated: 03/Apr/23 Resolved: 03/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.3, v6.0, v5.0
|
||||||||||||
| Sprint: | Execution Team 2023-02-20 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 13 | ||||||||||||
| Description |
|
This oplog sampling test inserts just enough documents to clear the sampling threshold of 2000. However, the oplog stones logic relies on the size storer to decide whether to scan or sample the oplog. Occasionally, the test fails to select the sampling logic due to a small difference (we've seen values of 1990 when the actual collection count should be 2020) between the size storer count and the actual collection count. We can make this test run more robustly by choosing a higher number of documents to insert to clear the scanning threshold comfortably even when the size storer is not 100% accurate. |
| Comments |
| Comment by Githook User [ 03/Apr/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Revert " This reverts commit 5cfb6fdfb529630eb0cf0d13ac4c71c5e9425b24. |
| Comment by Benety Goh [ 15/Feb/23 ] |
|
We would like to reopen the build failure investigation to understand why the size store is not saving the correct counts for the oplog collection on a clean shutdown. |
| Comment by Githook User [ 15/Feb/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Revert " This reverts commit 8a78dc88c4b50ed4c62a05d95072b19e42e74d51. |
| Comment by Githook User [ 11/Feb/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 11/Feb/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |