Operational Defect Database

BugZero found this defect 35 days ago.

MongoDB | 2641986

insert_with_data_size_aware_balancing.js is incompatible with test suites killing/terminating the CSRS primary

Last update date:

4/15/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.1.0-rc0

7.3.2

8.0.0-rc2

6.0.16

7.0.10

Description:

Info

The jstests/concurrency/fsm_workloads/insert_with_data_size_aware_balancing.js FSM test requires suites with balancer enabled to be executed. In general, the setup of such suites includes the  configuration of a set of CSRS failpoints that force the balancer to emit an infinite train of random migrations; such a configuration directly conflicts with the purpose of the test, which addresses this problem by temporarily resetting the failpoint values at the beginning of its execution. While this countermeasure is generally effective, it reveals to be useless when the CSRS primary gets killed/terminated in the middle of a test execution: the suite executor will in fact re-enable the problematic configuration when the mongod process is respawned, effectively causing the test to time out.

Top User Comments

xgen-internal-githook commented on Mon, 15 Apr 2024 13:13:18 +0000: Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'} Message: SERVER-89402 Do not execute insert_with_data_size_aware_balancing.js in suite killing/terminating the CSRS primary (#21119) (cherry picked from commit fc183b5c57cdeae9f704e4356ed347babb372f0b) (cherry picked from commit 8c26620a8b5274c01f50bdd0955968d8b3ad649a) GitOrigin-RevId: 4fcd9ccc1152509e00be535c680c89c470c25eba Branch: v7.3 https://github.com/mongodb/mongo/commit/4713e0f2b40e280fa1ea2393ec244ded0916f4fb xgen-internal-githook commented on Mon, 15 Apr 2024 13:08:01 +0000: Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'} Message: SERVER-89402 Do not execute insert_with_data_size_aware_balancing.js in suite killing/terminating the CSRS primary (#21119) (cherry picked from commit fc183b5c57cdeae9f704e4356ed347babb372f0b) GitOrigin-RevId: d801660042eebc63f145dc66c5ebb5c67851a990 Branch: v8.0 https://github.com/mongodb/mongo/commit/259b9439b127f75c5ded05a59c5d2c63a0a9a4e9 xgen-internal-githook commented on Mon, 15 Apr 2024 13:03:53 +0000: Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'} Message: SERVER-89402 Do not execute insert_with_data_size_aware_balancing.js in suite killing/terminating the CSRS primary (#21119) (cherry picked from commit fc183b5c57cdeae9f704e4356ed347babb372f0b) (cherry picked from commit 8c26620a8b5274c01f50bdd0955968d8b3ad649a) GitOrigin-RevId: ff3d2f1478fd15989a3481b3de92f60afbb39ba3 Branch: v7.0 https://github.com/mongodb/mongo/commit/26834bc03170c4e8a0692ca102f0765046323614 xgen-internal-githook commented on Mon, 15 Apr 2024 13:03:06 +0000: Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'} Message: SERVER-89402 Do not execute insert_with_data_size_aware_balancing.js in suite killing/terminating the CSRS primary (#21119) (cherry picked from commit fc183b5c57cdeae9f704e4356ed347babb372f0b) GitOrigin-RevId: 134d496eb8915acd0bf1a2f1313d0700a514dadb Branch: v6.0 https://github.com/mongodb/mongo/commit/58a4367ad35549002a9b53220931a8eddd4fcf94 xgen-internal-githook commented on Mon, 15 Apr 2024 10:12:06 +0000: Author: {'name': 'ppolato', 'email': '82828243+ppolato@users.noreply.github.com', 'username': 'ppolato'} Message: SERVER-89402 Do not execute insert_with_data_size_aware_balancing.js in suite killing/terminating the CSRS primary (#21119) GitOrigin-RevId: fc183b5c57cdeae9f704e4356ed347babb372f0b Branch: master https://github.com/mongodb/mongo/commit/19883ab5a47613d15c9571553fc45fdea88741ec

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...