-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding EMEA
-
ALL
-
25
It's possible during shardCollection for the following to occur
1. _configsvrShardCollection is sent to the config server
2. The config server sends _shardsvrShardCollection to a shard
3. The shard sends an update to the config server to add the collection to the 'config.collections' collection
4. That update succeeds on the config server, but the shard receives some error like NetworkInterfaceExceededTimeLimit, so that it does not hear back from the config server or know whether or not the write succeeded
5. The _shardsvrShardCollection fails, but the config server thinks that collection is sharded, so there's a mismatch between the shard and the config server
If the shard then received an unversioned write to that collection, it would not refresh its routing table, and would treat the collection as unsharded and write the document locally. This could be problematic though, if another write goes through a different router, which does do a refresh from the config server and finds the collection is sharded, and writes data to the correct place.
- related to
-
SERVER-34708 Possible for shard to not learn about a sharded collection it owns
- Closed