[SERVER-52724] Increment TTL passes server status metric after the TTL work has finished Created: 09/Nov/20 Updated: 29/Oct/23 Resolved: 10/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | TTL |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.14, 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | 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 | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Execution Team 2020-11-16 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 13 | ||||||||
| Description |
|
The TTL passes server status metric gets incremented before the TTL work was done here. This is problematic for tests that depend on documents to be deleted after the metric has been incremented such as this test. Instead, it would be better to increment the metric after the TTL work has been performed, making testing more reliable. |
| Comments |
| Comment by Githook User [ 29/Mar/22 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 145a48bf2fdddbc44fdea4ab9c0a5475ed1bb1b7) |
| Comment by Githook User [ 10/Nov/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 10/Nov/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |