-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: Change Streams
-
None
-
Needed
-
Summary
The change streams spec test "change stream resumes after StaleShardVersion" here has started failing against server latest because the StaleShardVersion error has been obsoleted as of SERVER-63327 / SERVER-64449. It seems as part of this change the server no longer attaches the ResumableChangeStreamError label and therefore the driver does not consider the error retryable, meaning the resume process is not attempted and the test fails.
According to SERVER-64449 this error is obsoleted by StaleConfig. We do include StaleConfig in the change streams spec list of resumable errors, however we do not seem to have any tests around it. We could just update this test to use StaleConfig instead, or alternatively update this test to run on only <= 6.0 and add a new test using StaleConfig that runs on all server versions.
Is this issue urgent?
Drivers can skip the failing test for now but it would be good to make this small change sooner rather than later so we don't lose coverage.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Just testing updates.
- is caused by
-
SERVER-63327 Remove usages of the StaleShardVersion error code from the migrations path
- Closed
-
SERVER-64449 Get rid of the StaleShardVersion exception
- Closed
- related to
-
DRIVERS-2392 Test that StaleConfig errors are resumable for change streams
- Backlog
- split to
-
CDRIVER-4429 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
CSHARP-4259 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
CXX-2547 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
GODRIVER-2494 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
MOTOR-996 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
NODE-4434 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
PHPLIB-914 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
PYTHON-3358 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
RUBY-3053 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
RUST-1412 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed
-
JAVA-4680 Spec test "change stream resumes after StaleShardVersion" fails on server version > 6.0
- Closed