Skip to content

DRIVERS-3419 - Test that client backpressure retries do not block oth…#1911

Merged
NoahStapp merged 2 commits intomongodb:masterfrom
NoahStapp:DRIVERS-3419
Mar 12, 2026
Merged

DRIVERS-3419 - Test that client backpressure retries do not block oth…#1911
NoahStapp merged 2 commits intomongodb:masterfrom
NoahStapp:DRIVERS-3419

Conversation

@NoahStapp
Copy link
Contributor

…er operations

Please complete the following before merging:

  • Is the relevant DRIVERS ticket in the PR title?
  • Update changelog.
  • Test changes in at least one language driver. Test changes only.
  • Test these changes against all server versions and topologies (including standalone, replica set, and sharded
    clusters).

@NoahStapp NoahStapp requested a review from a team as a code owner March 11, 2026 15:12
@NoahStapp NoahStapp requested review from jyemin and kevinAlbs and removed request for a team March 11, 2026 15:12
Copy link
Contributor

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test LGTM with minor comments.

Unfortunately the C driver does not implement CMAP, so I do not expect this test applies to the C driver's quirky implementation (each client owns connections to server, so there is no checkout/checkin). That said, the C driver passes this test because the test runner ignores CMAP assertions.

Comment on lines +27 to +32
initialData:
- collectionName: coll
databaseName: retryable-writes-tests
documents:
- _id: 1
x: 11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expect initialData is not needed since tested find expects to fail.

Suggested change
initialData:
- collectionName: coll
databaseName: retryable-writes-tests
documents:
- _id: 1
x: 11

- database:
id: database
client: client
databaseName: retryable-writes-tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: use relevant database name

Suggested change
databaseName: retryable-writes-tests
databaseName: backpressure-connection-checkin

collectionName: coll
initialData:
- collectionName: coll
databaseName: retryable-writes-tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
databaseName: retryable-writes-tests
databaseName: backpressure-connection-checkin

@NoahStapp NoahStapp merged commit 0535e65 into mongodb:master Mar 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants