Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37209

Allow mongos to retry on view resolution errors in a transaction

    • Fully Compatible
    • Sharding 2018-09-24, Sharding 2018-10-08

      If mongos attempts to read from a view, the shard will throw an exception that forces mongos to retry the command as an aggregation on the underlying collection. Currently, single replica set transactions abort on any error encountered while processing a command, so reading from a view in sharded transaction will abort the entire transaction. Instead, the shard should not abort on CommandOnShardedViewNotSupportedOnMongod and mongos should be able to update its transaction tracking state to account for this.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: