Details
Description
When the transaction API runs in router mode from a shard, it uses a "cluster" prefix for the commands it runs to distinguish them from the mongod versions. Error label generation uses the command's name to know if it is a commit or abort, but does not account for the "cluster" prefix, so it can return incorrect labels for commands run in this configuration.