[SERVER-46819] Allow transactions in change stream sharded passthroughs Created: 12/Mar/20  Updated: 29/Oct/23  Resolved: 28/Apr/20

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.2.7, 4.4.0-rc4, 4.7.0

Type: Task Priority: Major - P3
Reporter: Bernard Gorman Assignee: Bernard Gorman
Resolution: Fixed Votes: 0
Labels: greenerbuild, qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-40293 change_stream.js removal test should ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: Query 2020-04-06, Query 2020-04-20, Query 2020-05-04
Participants:

 Description   

At present, tests which use transactions are still banned in the various change stream sharded passthroughs:

❯ git grep "Transactions not supported on sharded clusters"
buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_mongos_sessions_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_whole_cluster_mongos_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_whole_cluster_sharded_collections_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_whole_db_mongos_passthrough.yml:  # Transactions not supported on sharded clusters.
buildscripts/resmokeconfig/suites/change_streams_whole_db_sharded_collections_passthrough.yml:  # Transactions not supported on sharded clusters.

We should lift this outdated restriction and put more targeted blacklisting in place, if needed.



 Comments   
Comment by Githook User [ 03/May/20 ]

Author:

{'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}

Message: SERVER-46819 Allow transactions in change stream sharded passthroughs

(cherry picked from commit 8c9563e56b429bf609f47ac3a6f36920dd6807f3)
(cherry picked from commit c7220a8080388da758230240a94ca0a15156148b)
Branch: v4.2
https://github.com/mongodb/mongo/commit/59668f23bc796f1457407e617572b7111fe46aea

Comment by Githook User [ 03/May/20 ]

Author:

{'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}

Message: SERVER-46819 Allow transactions in change stream sharded passthroughs

(cherry picked from commit 8c9563e56b429bf609f47ac3a6f36920dd6807f3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/c7220a8080388da758230240a94ca0a15156148b

Comment by Githook User [ 28/Apr/20 ]

Author:

{'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}

Message: SERVER-46819 Allow transactions in change stream sharded passthroughs
Branch: master
https://github.com/mongodb/mongo/commit/8c9563e56b429bf609f47ac3a6f36920dd6807f3

Generated at Thu Feb 08 05:12:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.