Operational Defect Database

BugZero found this defect 68 days ago.

MongoDB | 2605994

Exclude query_settings_reject_application.js in replica_set_endpoint suites

Last update date:

3/13/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

query_settings_reject_application.js expects per-command metrics to be updated if an operation is rejected due to the query settings reject flag. However, these metrics are per ClusterRole; the test fails as a different instance of the metric is updated. This issue had been identified at the time the test was introduced, and some replica_set_endpoint suites already exclude this test; all affected suites should be similarly updated. Note the reject functionality is covered elsewhere, in tests which do run successfully under replica_set_endpoint suites. For now, this metrics-only test may be excluded from affected suites.

Top User Comments

xgen-internal-githook commented on Wed, 13 Mar 2024 09:54:45 +0000: Author: {'name': 'James H', 'email': '00jamesh@gmail.com', 'username': 'jameseh96'} Message: SERVER-87808: Exclude query_settings_reject_application.js from replica_set_endpoint suites (#19857) SERVER-87808 Exclude query_settings_reject_application.js from replica_set_endpoint suites The test reads per-ClusterRole metrics; replica_set_endpoint tests change which instance of the metric will be updated. This excludes only the metrics tests, rejection functionality is still tested under replica_set_endpoint in other tests. GitOrigin-RevId: 37cfcf2e499b6de9a5bfbfea05b5b48a02f52f59 Branch: master https://github.com/mongodb/mongo/commit/03411449a4786b7481c6d7b173e7a32729acc0ee

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...