[SERVER-65356] In config POC fix error with wrong shard targeted Created: 07/Apr/22  Updated: 29/Oct/23  Resolved: 12/Apr/22

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

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-65407 In ShardingCatalogManager::commitChun... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-04-18
Participants:
Story Points: 2

 Description   

Exact error "Config shard selected, while operation is not on admin or config DB". It's massively present in my run and should be high priority.

Tests to reproduce (just random few):

jstests/sharding/accurate_count_with_predicate.js
jstests/sharding/addshard5.js
jstests/sharding/aggregations_in_session.js
jstests/sharding/allow_partial_results.js
jstests/sharding/allow_partial_results_nshards.js
jstests/sharding/api_params_nontransaction_sharded.js
jstests/sharding/api_params_transaction_sharded.js
jstests/sharding/api_version_test_expression.js
jstests/sharding/array_shard_key.js
jstests/sharding/authConnectionHook.js
jstests/sharding/auth_add_shard.js
jstests/sharding/balancer_collection_status.js
jstests/sharding/balancer_defragmentation_merge_chunks.js
jstests/sharding/basic_merge.js
jstests/sharding/basic_split.js
...

about half of all failures.


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