[SERVER-81190] Support tracking "simple" unsharded collections in the sharding catalog Created: 19/Sep/23  Updated: 06/Feb/24  Resolved: 06/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: auto-reverted, oldshardingemea
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-82791 createView fails with StaleConfig if ... Closed
depends on SERVER-83399 [FLE] Cleanup performed over an unsha... Closed
depends on SERVER-84368 CreateIndex fails with StaleConfig if... Closed
depends on SERVER-85438 Make shard_collection_error_handling.... Closed
depends on SERVER-85445 Extend the cursor batch size in repls... Closed
depends on SERVER-85451 store_historical_placement_data.js sh... Closed
depends on SERVER-86030 Temporarly disable convertToCapped an... Open
depends on SERVER-79876 Collmod must be compatible with unspl... Closed
depends on SERVER-80370 Fix shardingStatistics' numHostsTarge... Closed
depends on SERVER-81189 Transform `create` requests in sharde... Closed
depends on SERVER-83444 Fix routing of cluster analyze_shard_... Closed
is depended on by SERVER-83924 system.session is not found locally w... Open
is depended on by SERVER-81936 Support tracking unsplittable collect... Open
is depended on by SERVER-83878 Support tracking unsharded timeseries... Backlog
is depended on by SERVER-86059 Support tracking unsharded collection... Backlog
is depended on by SERVER-86014 Adapt multi_collection_transaction_pl... Closed
is depended on by SERVER-83396 Create a failpoint to randomize the s... Needs Scheduling
Problem/Incident
causes SERVER-86074 investigate if $out, insert and creat... Needs Scheduling
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2023-11-13, CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22, CAR Team 2024-02-05
Participants:
Linked BF Score: 155

 Description   

After the completion of SERVER-81189 , change the _shardSvrCreateCollection command to instantiate a DDL coordinator for tracking in the config server "simple" collections:

  • No timeseries
  • No custom collations
  • No views
  • No transactions

Unsplittable collections will be tracked as one-chunked collections with the unsplittable flag set to true and with shard key {id: 1} .



 Comments   
Comment by Githook User [ 05/Feb/24 ]

Author:

{'name': 'egol', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-81190 Support tracking "simple" unsharded collections in the CSRS

Co-authored-by: Tommaso Tocci <tommaso.tocci@mongodb.com>
Co-authored-by: Enrico Golfieri <enrico.golfieri@mongodb.com>
GitOrigin-RevId: 79bb40cf6d6828cbcae37dc339c6dd9496852d30
Branch: master
https://github.com/mongodb/mongo/commit/204fa95d7859878c15992db41444e9a21e733863

Comment by Githook User [ 03/Feb/24 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-81190 Support tracking "simple" unsharded collections in the sharding catalog"

This reverts commit 918d81f3e5f17c8062d4c807c359d45aff1310f8.

GitOrigin-RevId: 202ed84a048f8e6c126aeb8a1b22885491e77835
Branch: master
https://github.com/mongodb/mongo/commit/e449db9dde5fc98eef72ea30f4c516100bc98a30

Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-81190 Support tracking "simple" unsharded collections in the sharding catalog

Co-authored-by: Enrico Golfieri <enrico.golfieri@mongodb.com>
Co-authored-by: Tommaso Tocci <tommaso.tocci@mongodb.com>
GitOrigin-RevId: 918d81f3e5f17c8062d4c807c359d45aff1310f8
Branch: master
https://github.com/mongodb/mongo/commit/a3181abd8a5ac285be9e74aa53b47ec82bfa887a

Generated at Thu Feb 08 06:45:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.