Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Sharding NYC 2023-06-26, Sharding NYC 2023-07-10, Sharding NYC 2023-07-24, Sharding NYC 2023-08-07
-
105
Description
Currently there exists a supplementary helper that checks whether or not we need to use the two phase write protocol for a write without a shard key. This helper re-parses the query into a CanonicalQuery, which adds undesirable overhead to write operations. This check can likely be done in targetUpdate()/targetDelete() directly so we don't incur this excess latency.