[SERVER-33280] Add a test to ensure that an error on one shard will proactively clean up any cursors from other shards Created: 12/Feb/18  Updated: 29/Oct/23  Resolved: 06/Mar/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-24978 Second batches in aggregation framewo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2018-03-12
Participants:

 Description   

We believe this will 'just work', but would like a regression test that proves it to be the case.



 Comments   
Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch', 'username': 'dstorch'}

Message: SERVER-33280 Test that sharded agg cursors are fully cleaned up on error.
Branch: master
https://github.com/mongodb/mongo/commit/30026808d96d7e703ec5fbbbd1b92197b13fd3bb

Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch', 'username': 'dstorch'}

Message: SERVER-33280 Test that sharded cursors are fully cleaned up when a sub-cursor on a shard is killed.
Branch: master
https://github.com/mongodb/mongo/commit/193a00d894e528684aaf357a840958cdf724b699

Comment by Githook User [ 05/Mar/18 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch', 'username': 'dstorch'}

Message: Revert "SERVER-33280 Test that sharded cursors are fully cleaned up when a sub-cursor on a shard is killed."

This reverts commit 3a409d8f76d8123d2d759062ef84a5f788a1ae0f.
Branch: master
https://github.com/mongodb/mongo/commit/3f94de87680764d74bfb219a07606d46c515cba6

Comment by Githook User [ 05/Mar/18 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch', 'username': 'dstorch'}

Message: SERVER-33280 Test that sharded cursors are fully cleaned up when a sub-cursor on a shard is killed.
Branch: master
https://github.com/mongodb/mongo/commit/3a409d8f76d8123d2d759062ef84a5f788a1ae0f

Comment by Charlie Swanson [ 12/Feb/18 ]

Marking this as depends on SERVER-24978. It doesn't really, but doing this after SERVER-24978 would allow this test to include a test case that ensures aggregations with cursors set up to merge on one of the shards would have the same behavior.

If we want to, we can split out that special case into a separate issue and remove the link here.

Generated at Thu Feb 08 04:32:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.