[SERVER-61220] Integration test for Progress monitor Created: 03/Nov/21  Updated: 29/Oct/23  Resolved: 21/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 4.4.12, 5.0.7

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Davis Haupt (Inactive)
Resolution: Fixed Votes: 0
Labels: pm-2364-faulty-mongos, sharding-nyc-subteam2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Gantt Dependency
has to be done after SERVER-59394 Setup integration test simulating lda... Closed
Related
is related to SERVER-61873 LDAP health observer runtime params Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.2, v5.0, v4.4
Sprint: Sharding 2021-12-13, Sharding 2021-12-27
Participants:
Story Points: 2

 Description   

TheĀ SERVER-59366 provides basic unit tests, we need integration test with fail injection that makes a health check to be stuck triggering crash in the mongos. We can define a failpoint to stop the HealthObservers from executing checks such that the statistics used by the progress monitor are not updated.

Setup:

  • 2 mongos servers
  • Workload that performs write operations in a loop

Test:

  • Start workload.
  • Wait a bit
  • Enable the failpoint on one of the mongos processes
  • Let FaultManagerConfig::getPeriodicLivenessDeadline elapse while the workload is running
  • Observe that operations are redirected to the other mongos
  • Observe that writes are accounted for before and after we enabled the failpoint


 Comments   
Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-61220 Integration test for progress monitor

(cherry picked from commit b884feb946d3a991b37e5ebeb5944eb8c5edf361)
Branch: v5.2
https://github.com/mongodb/mongo/commit/44cc0bf71435ec1a3a13d4027ad6699103617fa4

Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-61220 Ldap health checker linked into mongos

(cherry picked from commit f29106f24cb9ee45c2717724789a0f3db1b63f2a)
Branch: v5.2
https://github.com/10gen/mongo-enterprise-modules/commit/3fd07e5167b85afca7f857d76a7c53d77cf03bff

Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-61220 Ldap health checker linked into mongos

(cherry picked from commit f29106f24cb9ee45c2717724789a0f3db1b63f2a)
Branch: v5.0
https://github.com/10gen/mongo-enterprise-modules/commit/bec0ba261f03df4ff8293ef8bef0aa3853ca9f8f

Comment by Githook User [ 29/Dec/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-61220 Ldap health checker linked into mongos

(cherry picked from commit f29106f24cb9ee45c2717724789a0f3db1b63f2a)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/0bbb46aff82899a0eb599babef4ae68a128949ea

Comment by Githook User [ 28/Dec/21 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-61220 Integration test for progress monitor
Branch: v4.4
https://github.com/mongodb/mongo/commit/c53285719d4b039f0e973cb120c2e90874c303b8

Comment by Githook User [ 15/Dec/21 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-61220 Integration test for progress monitor
Branch: master
https://github.com/mongodb/mongo/commit/b884feb946d3a991b37e5ebeb5944eb8c5edf361

Generated at Thu Feb 08 05:51:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.