Commit Graph

66 Commits

Author SHA1 Message Date
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Igor Praznik c8606aeb53 SERVER-97733 Re-enable filtering metadata check in tests that disabled it due to refineCollectionShardKey (#33169)
GitOrigin-RevId: 26a29aa62dbad13b9d30da8991a5758500f988eb
2025-04-09 23:43:47 +00:00
Kruti Shah 642945b72e SERVER-94915 Develop core_sharding tests for refineCollectionShardKey (#29100)
GitOrigin-RevId: c88740d25ff28a54bdf4cb8357fbc9bff9af0574
2024-11-21 16:31:46 +00:00
Jason Zhang b47a7e7cce SERVER-68131 Remove Feature Flag for PM-1632 (#28009)
GitOrigin-RevId: c8ef947bf82f07d218f7b934c87984b2aedfba91
2024-10-22 22:39:49 +00:00
Tommaso Tocci e39b039f86 SERVER-79064 Remove refine collection shard key deprecated code once 8.0 becomes last lts (#27251)
GitOrigin-RevId: d4988ddbe13d6e80493e1d6e26e064fe1d23ff9f
2024-09-23 23:27:41 +00:00
Matt Broadstone 771dabd098 SERVER-81339 Convert ReplSetTest and ShardingTest to modules (#26332)
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
ppolato eef756f92d SERVER-89250 Use TestData to check whether a continuous CSRS stepdown suite is in execution (#21023)
GitOrigin-RevId: f39d7ec24a70393102da453cd2c6ce5fc5a4cd5e
2024-04-18 21:36:33 +00:00
Silvia Surroca 367958b1de SERVER-86294 Create new feature flag for tracking collections upon move and rename old feature flag (#19634)
GitOrigin-RevId: e85816e430ef66323acf8c16fb01106f7fdd0073
2024-03-07 08:32:55 +00:00
Pierlauro Sciarelli ce28e79ede SERVER-81293 Get rid of `ensurePrimaryShard` helper 2023-09-28 09:24:01 +00:00
egol 25d63f1205 SERVER-79671 Prevent moveChunk, splitChunk and refineCollectionShardKey from doing changes on unsplittable collections 2023-09-27 10:27:35 +00:00
Wenqin Ye 2afcdb651a SERVER-81211: Fix failing asserts due to backporting of SERVER-44422 to 7.0 2023-09-20 23:34:19 +00:00
Pierlauro Sciarelli 81b3d3a630 Revert "SERVER-80715 Check collection exists before accessing it's parameters in new refine collection shard key"
This reverts commit 4eefd34335.
2023-09-06 07:59:54 +00:00
Marcos José Grillo Ramirez 4eefd34335 SERVER-80715 Check collection exists before accessing it's parameters in new refine collection shard key 2023-09-05 11:16:06 +00:00
Erin McNulty b054d0037f SERVER-72974: Replaced unnamed error codes with IDLFailedToParse 2023-08-31 22:06:39 +00:00
Marcos José Grillo Ramirez 2c6ae5c16c SERVER-76486 Change RefineShardKey coordinator to be authoritative on shards 2023-08-23 10:13:54 +00:00
auto-revert-processor 6667ff008f Revert "SERVER-76486 Change RefineShardKey coordinator to be authoritative on shards"
This reverts commit 8e2b6203ce.
2023-08-18 14:39:17 +00:00
Marcos José Grillo Ramirez 8e2b6203ce SERVER-76486 Change RefineShardKey coordinator to be authoritative on shards 2023-08-17 21:17:54 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Matt Broadstone 1e98a0f23d SERVER-78551 Migrate analyze_plan library to module 2023-07-05 21:23:02 +00:00
Kshitij Gupta 3d6017336d SERVER-66060: Remove catalog shard feature flag 2023-07-05 18:36:35 +00:00
Allison Easton ef5c16cffc SERVER-76394 Allow the setAllowMigrations refresh to be sent to all shards in a backportable way 2023-04-25 12:37:21 +00:00
Jack Mulrow e3e4b4d6a5 SERVER-76310 Use config shard terminology instead of catalog shard 2023-04-24 01:33:22 +00:00
Allison Easton 0b8641991b SERVER-72515 Remove refine collection shard key test after 7.0 becomes last-lts 2023-04-14 13:00:10 +00:00
Allison Easton 8082f6fe23 SERVER-73984 setAllowMigrationsAndBumpOneChunk should send the refresh to all shards 2023-03-01 15:30:52 +00:00
Jack Mulrow af8143514c SERVER-72489 Config server always has shardIdentity and uses ShardServerCatalogCacheLoader 2023-02-10 21:44:18 +00:00
Jack Mulrow 5cb6cc2e63 SERVER-72282 Don't fully disable catalog shard feature flag 2023-01-28 15:33:43 +00:00
Jordi Serra Torrens c82eaeff37 SERVER-71690 Implement a new sharding hook to verify the sharding filtering metadata 2023-01-18 11:29:34 +00:00
Marcos José Grillo Ramirez ae00391b27 SERVER-64175 Add TODO ticket to remove refineCollectionShardKey test after 7.0 becomes last-lts 2023-01-04 19:03:07 +00:00
Jason Zhang 87c5d5d3c1 SERVER-69920 Implement two phase protocol for updateOne and deleteOne 2022-12-29 22:30:30 +00:00
Marcos José Grillo Ramirez 07b5f334c5 SERVER-64175 Modify refine shard key index validations so they are performed in each shard 2022-12-28 18:32:16 +00:00
Israel Hsu a98ea3b6e7 SERVER-50792 Implement detailed shard key index errors 2022-06-13 18:02:12 +00:00
Randolph Tan b355fd53d1 SERVER-64142 Add new enforceUniqueness to refineCollectionShardKey command 2022-03-28 17:17:42 +00:00
Tommaso Tocci ece9ffb322 SERVER-64651 Prevent refineCollectionShardKey to run on config server 2022-03-21 19:17:27 +00:00
Jordi Serra Torrens 0527f6a2d0 SERVER-62332 Make RefineCollectionShardKeyCoordinator disallow migrations while it's executing 2022-01-21 09:05:49 +00:00
Jordi Serra Torrens a3741453e5 SERVER-61249 Skip test case in refine_collection_shard_key_basic.js that relies on a best-effort shard refresh 2021-12-15 12:10:54 +00:00
Tommaso Tocci 6c29b2a14b SERVER-58940 Re-eneable not failing sharding tests disabled in multiversion suites after 5.1 FCV constants update 2021-07-29 09:59:03 +00:00
Vishnu Kaushik 7084d1aff9 SERVER-58295 disable tests failing due to multiversion issues 2021-07-20 15:10:16 +00:00
Adityavardhan Agrawal 94899d7934 SERVER-57493 Remove requires_find_command jstest tag 2021-06-30 16:43:47 +00:00
Kaloian Manassiev a896fe0fdb SERVER-57524 Make refine and resharding not write epoch/timestamp to the chunk entries 2021-06-16 12:40:54 +00:00
Pierlauro Sciarelli 6484a58561 SERVER-48651 Avoid lock timeout errors in refine_collection_shard_key_basic.js 2021-06-16 12:17:33 +00:00
Jordi Serra Torrens f3617ccb88 SERVER-53105: Amend tests that target config.chunks by ns to target by ns or uuid depending on collection timestamp 2021-01-22 10:25:46 +00:00
Jaume Moragues 53b4d1ac1c SERVER-53088 Create the _shardsvrRefineCollectionShardKey command 2020-12-04 10:30:43 +00:00
Jack Mulrow 913429ff26 SERVER-50750 refineCollectionShardKey should add nested keys as dotted fields 2020-09-11 23:09:06 +00:00
Pierlauro Sciarelli 8160b517bd SERVER-50507 Avoid race conditions during recoverRefreshShardVersion 2020-09-04 00:18:02 +00:00
Gregory Wlodarek 3421f17236 SERVER-48312 Remove the 'requires_document_locking' jstest tag 2020-08-04 01:58:47 +00:00
Ali Mir 98427b7a22 SERVER-46592 Remove all usages of the requires_fcv_44 tag from jstests 2020-04-29 17:32:39 +00:00
Jack Mulrow d98886efd1 SERVER-46505 Restore requirement that full shard key must be in query to update shard key value 2020-03-17 14:54:45 +00:00
Jack Mulrow 8781a75d17 SERVER-46004 refineCollectionShardKey should verify indexes on a shard with a chunk 2020-03-13 00:05:44 +00:00
Tommaso Tocci 1539a4c9dd SERVER-45655 fix refine_collection_shard_key_basic.js under continuous_config_stepdown suite
refine_collection_shard_key_basic.js checks if entries associated with
refineCollectionShardKey are correctly inserted into the changelog.
In the case that the primary stepdown do to a failure,
it is not guaranteed that these entries are committed on the changelog.

This commit introduces the following changes:
 - refine_collection_shard_key_basic.js does not perform any check on
   the changelog entries so that it can be run in the continuous_config_stepdown suite.
 - introduces a new refine_collection_shard_key_changelog.js test with the only purpose of checking
   that changelog entries are inserted correctly for the refineCollectionShardKey operation.
   This test is blacklisted in the continuous_config_stepdown suite.

 create mode 100644 jstests/sharding/refine_collection_shard_key_changelog.js
2020-01-21 14:06:24 +00:00
Arun Banala 272c89db89 SERVER-43914 Permit sharding commands to accept compound hashed shard key specs 2019-11-26 15:17:39 +00:00