-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: Change Streams
-
Needed
-
Summary
A number of the change streams spec tests in change-streams.yml already only run against replicasets (standalones do not support change streams). Running against regular sharded clusters and sharded replica sets causes unexpected behavior in the command monitoring events observed (usually unexpected drops and writes that cause test failures). The cause of these unexpected events is not immediately clear, so we should restrict the tests in that file to only run against replicasets for the time being. We can re-enable testing against sharded clusters as part of DRIVERS-2323.
Motivation
Who is the affected end user?
Driver devs.
How does this affect the end user?
A couple teams (at least Go and PHP) are blocked on merging change streams tests because of failures against sharded clusters that likely do not represent bugs in the drivers.
How likely is it that this problem or use case will occur?
Consistent failures against sharded clusters.
If the problem does occur, what are the consequences and how severe are they?
This is blocking at least a couple tickets in the Go driver.
Is this issue urgent?
Somewhat.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is depended on by
-
GODRIVER-2362 Change Stream event document missing "to" field for rename events
- Closed
-
DRIVERS-2323 Run all possible change streams spec tests against sharded topologies
- Backlog
-
GODRIVER-1986 Convert change stream spec tests to unified test format
- Closed
-
GODRIVER-2296 Do not error when parsing change stream event documents
- Closed
- related to
-
PHPLIB-842 Drop operation from initialData unexpectedly returned in change stream spec tests
- Backlog
- split to
-
CDRIVER-4391 Restrict change streams unified tests to replicasets
- Closed
-
CSHARP-4176 Restrict change streams unified tests to replicasets
- Closed
-
CXX-2514 Restrict change streams unified tests to replicasets
- Closed
-
GODRIVER-2422 Restrict change streams unified tests to replicasets
- Closed
-
MOTOR-964 Restrict change streams unified tests to replicasets
- Closed
-
NODE-4252 Restrict change streams unified tests to replicasets
- Closed
-
PHPLIB-873 Restrict change streams unified tests to replicasets
- Closed
-
PYTHON-3273 Restrict change streams unified tests to replicasets
- Closed
-
RUBY-3001 Restrict change streams unified tests to replicasets
- Closed
-
RUST-1327 Restrict change streams unified tests to replicasets
- Closed
-
JAVA-4617 Restrict change streams unified tests to replicasets
- Closed